From: Nick Clifton Date: Tue, 28 Sep 1999 17:26:01 +0000 (+0000) Subject: New test: check ability to generate debug information for incomplete types in X-Git-Tag: prereleases/libstdc++-2.92~10327 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=628d441075cef98809f0e2f661fb13810b7c85dc;p=thirdparty%2Fgcc.git New test: check ability to generate debug information for incomplete types in inline functions. From-SVN: r29696 --- diff --git a/gcc/testsuite/gcc.c-torture/ChangeLog b/gcc/testsuite/gcc.c-torture/ChangeLog index d4a4dd8ad1d1..c496e6b68419 100644 --- a/gcc/testsuite/gcc.c-torture/ChangeLog +++ b/gcc/testsuite/gcc.c-torture/ChangeLog @@ -1,3 +1,7 @@ +1999-09-28 Nick Clifton + + * compile/990928-1.c: New test. + 1999-09-23 Nick Clifton * execute/990923-1.c: New test. diff --git a/gcc/testsuite/gcc.c-torture/compile/990928-1.c b/gcc/testsuite/gcc.c-torture/compile/990928-1.c new file mode 100644 index 000000000000..5658e360567f --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/990928-1.c @@ -0,0 +1,10 @@ +/* Make sure that debug information can be generated + for inline functions containing incomplete type + declarations. */ +inline int foo (void) +{ + struct imcomplete1 * ptr1; + union incomplete2 * ptr2; + enum incomplete3 * ptr3; + return 1; +}