diff options
| -rw-r--r-- | gcc/testsuite/g++.old-deja/g++.other/syntax1.C | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/syntax1.C b/gcc/testsuite/g++.old-deja/g++.other/syntax1.C new file mode 100644 index 00000000000..90419a20466 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.other/syntax1.C @@ -0,0 +1,17 @@ +// Build don't link: +// Origin: Mark Mitchell <mark@codesourcery.com> +// Special g++ Options: -fsyntax-only + +class AAA{ +public: + virtual void fff(); +}; + +void AAA::fff() {} + +AAA aaa; + +main () +{ + aaa.fff(); +} |

