New test: check ability to generate debug information for incomplete types in
inline functions. From-SVN: r29696
This commit is contained in:
parent
bbc6ae08af
commit
628d441075
@ -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.
|
||||
|
10
gcc/testsuite/gcc.c-torture/compile/990928-1.c
Normal file
10
gcc/testsuite/gcc.c-torture/compile/990928-1.c
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user