From a976230b4266f642a33045088335f26dec221aec Mon Sep 17 00:00:00 2001 From: Geoffrey Keating Date: Thu, 22 Aug 2002 20:05:52 +0000 Subject: [PATCH] * gcc.dg/noncompile/incomplete-1.c: New test. From-SVN: r56514 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/noncompile/incomplete-1.c | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 gcc/testsuite/gcc.dg/noncompile/incomplete-1.c diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 228b2f08411..1fdf1bcf746 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2002-08-22 Geoffrey Keating + + * gcc.dg/noncompile/incomplete-1.c: New test. + 2002-08-21 Joseph S. Myers * 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 index 00000000000..773643b3f50 --- /dev/null +++ b/gcc/testsuite/gcc.dg/noncompile/incomplete-1.c @@ -0,0 +1,4 @@ +struct a +{ + struct b t; /* { dg-error "has incomplete type" } */ +};