aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/ctor1.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/ctor1.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.jason/ctor1.C28
1 files changed, 2 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
index 69afd425519..106ff4283c9 100644
--- a/gcc/testsuite/g++.old-deja/g++.jason/ctor1.C
+++ b/gcc/testsuite/g++.old-deja/g++.jason/ctor1.C
@@ -1,26 +1,2 @@
-// PRMS Id: 5584
-
-extern "C"
-{
- struct xx {
- void (*xx)(void);
- int x,y;
- };
-}
-
-int r = 1;
-
-void f(void)
-{
- r = 0;
-}
-
-main()
-{
- struct xx p;
-
- p.xx = f;
- p.xx();
-
- return r;
-}
+ void (*xx)(void); // ERROR - field with name of class
+int main()