diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/rfg4.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/rfg4.C | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/rfg4.C b/gcc/testsuite/g++.old-deja/g++.jason/rfg4.C deleted file mode 100644 index 978b3634aab..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/rfg4.C +++ /dev/null @@ -1,12 +0,0 @@ -// Bug: f1 and f2 are treated as overloaded when they aren't. -// Build don't link: - -int i; -void f1(double) { } -void f2(double) { } - -void -test () -{ - i ? f1 : f2; // gets bogus error - improper overloading -} |