diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.brendan/redecl3.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.brendan/redecl3.C | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/redecl3.C b/gcc/testsuite/g++.old-deja/g++.brendan/redecl3.C deleted file mode 100644 index 5987e0e3172..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.brendan/redecl3.C +++ /dev/null @@ -1,17 +0,0 @@ -// Build don't link: -// GROUPS passed redeclaration -class foo -{ -public: - int bar(int a); -}; - - -void bar(int &a); - -int foo::bar(int a) { - int a = 0; // Should this be an error ?// ERROR - declaration.* - - bar(a); - return 0; -} |