diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/debug/pr43010.C')
-rw-r--r-- | gcc/testsuite/g++.dg/debug/pr43010.C | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/debug/pr43010.C b/gcc/testsuite/g++.dg/debug/pr43010.C new file mode 100644 index 000000000..24b5b2713 --- /dev/null +++ b/gcc/testsuite/g++.dg/debug/pr43010.C @@ -0,0 +1,8 @@ +// PR debug/43010 +// { dg-do compile } +// { dg-options "-g -femit-struct-debug-baseonly" } +# 1 "foo.C" +# 1 "bar.h" 1 +typedef struct { int i; } S __attribute__((aligned)); +typedef struct { struct { int i; } j; } T __attribute__((aligned)); +# 1 "foo.C" 2 |