diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/parse7.C')
-rwxr-xr-x | gcc/testsuite/g++.old-deja/g++.jason/parse7.C | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/parse7.C b/gcc/testsuite/g++.old-deja/g++.jason/parse7.C new file mode 100755 index 0000000..bd9744c --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.jason/parse7.C @@ -0,0 +1,7 @@ +// Bug: g++ tries to parse this as a constructor. +// Build don't link: + +typedef int foo; +struct A { + foo (*bar)(); +}; |