aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/incomplete.C
diff options
context:
space:
mode:
authorno-author <no-author@gcc.gnu.org>1999-03-27 17:33:36 +0000
committerno-author <no-author@gcc.gnu.org>1999-03-27 17:33:36 +0000
commit39afd5f60ec2fbd0c7b54a02190496d0d8ddf1a3 (patch)
tree6334557b4720da0ed086baaaa7673961de015cbe /gcc/testsuite/g++.old-deja/g++.other/incomplete.C
parent988a45aa5452e434199d8e5f761ed7173e9c5862 (diff)
This commit was manufactured by cvs2svn to create branch
'egcs_gc_branch'. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/egcs_gc_branch@26021 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/incomplete.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/incomplete.C5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/incomplete.C b/gcc/testsuite/g++.old-deja/g++.other/incomplete.C
new file mode 100644
index 00000000000..0c230c18777
--- /dev/null
+++ b/gcc/testsuite/g++.old-deja/g++.other/incomplete.C
@@ -0,0 +1,5 @@
+// Build don't link:
+
+struct S;
+
+void f(S s) {} // ERROR - incomplete type