New test: check ability to generate debug information for incomplete types in

inline functions.

From-SVN: r29696
This commit is contained in:
Nick Clifton 1999-09-28 17:26:01 +00:00 committed by Nick Clifton
parent bbc6ae08af
commit 628d441075
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,7 @@
1999-09-28 Nick Clifton <nickc@cygnus.com>
* compile/990928-1.c: New test.
1999-09-23 Nick Clifton <nickc@cygnus.com>
* execute/990923-1.c: New test.

View File

@ -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;
}