aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/linkage1.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/linkage1.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/linkage1.C14
1 files changed, 0 insertions, 14 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/linkage1.C b/gcc/testsuite/g++.old-deja/g++.other/linkage1.C
deleted file mode 100644
index 65a2848a2b1..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.other/linkage1.C
+++ /dev/null
@@ -1,14 +0,0 @@
-typedef struct {
- int i;
-} *p;
-
-void f (p) { } // ERROR - function uses anonymous type
-p q;
-
-int main()
-{
- extern p j;
- struct A { int j; };
- extern A a; // ERROR - extern uses local type
- extern void f (A); // ERROR - extern uses local type
-}