aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/ref1.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/ref1.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/ref1.C10
1 files changed, 0 insertions, 10 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/ref1.C b/gcc/testsuite/g++.old-deja/g++.other/ref1.C
deleted file mode 100644
index b6d82aa25ca..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.other/ref1.C
+++ /dev/null
@@ -1,10 +0,0 @@
-// Build don't link:
-
-int f();
-
-void g()
-{
- const int& i = f(); // OK
- int& j = f(); // ERROR - initialization of non-const reference
- const volatile int& k = f(); // ERROR - initialization of volatile ref
-}