diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/lineno3.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.other/lineno3.C | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/lineno3.C b/gcc/testsuite/g++.old-deja/g++.other/lineno3.C new file mode 100644 index 000000000..2b3ba059f --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.other/lineno3.C @@ -0,0 +1,29 @@ +// { dg-do assemble } +// Bug: g++ gets confused by the #line directive within a method. +// Contributed by Mark Mitchell <mark@codesourcery.com> + +struct S +{ + void f () + { + int i; + + + + + + + + + + + + + + + + + + int j; + } +}; |