* gcc.dg/noncompile/incomplete-1.c: New test.
authorGeoffrey Keating <geoffk@redhat.com>
Thu, 22 Aug 2002 20:05:52 +0000 (20:05 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Thu, 22 Aug 2002 20:05:52 +0000 (20:05 +0000)
From-SVN: r56514

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/noncompile/incomplete-1.c [new file with mode: 0644]

index 228b2f084117aa672c6874974c3498e5efe587de..1fdf1bcf74636abb7ddfe5e6926b3e93660a7bb8 100644 (file)
@@ -1,3 +1,7 @@
+2002-08-22  Geoffrey Keating  <geoffk@redhat.com>
+
+       * gcc.dg/noncompile/incomplete-1.c: New test.
+
 2002-08-21  Joseph S. Myers  <jsm@polyomino.org.uk>
 
        * gcc.dg/typespec-1.c: New test.
diff --git a/gcc/testsuite/gcc.dg/noncompile/incomplete-1.c b/gcc/testsuite/gcc.dg/noncompile/incomplete-1.c
new file mode 100644 (file)
index 0000000..773643b
--- /dev/null
@@ -0,0 +1,4 @@
+struct a
+{
+  struct b t;  /* { dg-error "has incomplete type" } */
+};