diff options
Diffstat (limited to 'clang/test/CodeGen/debug-info.c')
-rw-r--r-- | clang/test/CodeGen/debug-info.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/clang/test/CodeGen/debug-info.c b/clang/test/CodeGen/debug-info.c index 39334168af9..4a47f6615cd 100644 --- a/clang/test/CodeGen/debug-info.c +++ b/clang/test/CodeGen/debug-info.c @@ -4,3 +4,19 @@ void convert(void) { struct { typeof(0) f0; } v0; } + +// PR2784 +struct OPAQUE; +typedef struct OPAQUE *PTR; +PTR p; + + +// PR2950 +struct s0; +struct s0 { struct s0 *p; } g0; + +struct s0 *f0(struct s0 *a0) { + return a0->p; +} + + |