diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/overload20.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/overload20.C | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/overload20.C b/gcc/testsuite/g++.old-deja/g++.jason/overload20.C deleted file mode 100644 index 998f6a7466c..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/overload20.C +++ /dev/null @@ -1,11 +0,0 @@ -// Bug: this code causes an internal compiler error 4. - -void f (char *); -void f (int); -struct A { - void f (); // ERROR - candidate - void f (int); // ERROR - candidate - void g () { - void (*p)(char *) = f; // ERROR - no matching function in scope - } -}; |