diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/ctor1.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/ctor1.C | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/ctor1.C b/gcc/testsuite/g++.old-deja/g++.jason/ctor1.C deleted file mode 100644 index 123295dc409..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/ctor1.C +++ /dev/null @@ -1,26 +0,0 @@ -// PRMS Id: 5584 - -extern "C" -{ - struct xx { - void (*xx)(void); // ERROR - field with name of class - int x,y; - }; -} - -int r = 1; - -void f(void) -{ - r = 0; -} - -int main() -{ - struct xx p; - - p.xx = f; - p.xx(); - - return r; -} |