mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
83b10087f4
* valarith.c (value_ptrdiff): Added a test for a zero type length, warn if found, and assume length = 1. * gdb.cp/pr10728-x.h: New file. * gdb.cp/pr10728-x.cc: New file. * gdb.cp/pr10728-y.cc: New file. * gdb.cp/pr10728.exp: New file. * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
8 lines
78 B
C++
8 lines
78 B
C++
#include "pr10728-x.h"
|
|
|
|
int main()
|
|
{
|
|
X* x = y();
|
|
return 0; // marker 1
|
|
}
|