commit | bb6f54833cda9197511678d078f7d95d8da6f27e | [log] [tgz] |
---|---|---|
author | Devang Patel <dpatel@apple.com> | Wed Feb 16 18:40:36 2011 +0000 |
committer | Devang Patel <dpatel@apple.com> | Wed Feb 16 18:40:36 2011 +0000 |
tree | dc91270d88d221f8533ded21a89efa1b08cbc42d | |
parent | 9b7db6200d366e4964d63ae1f33c7b9d7b9831cb [diff] [blame] |
If preprocessed token introduced empty filename then use main translation unit's filename for debug info entries. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125672 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/debug-info-crash.c b/test/CodeGen/debug-info-crash.c index e0c9dd4..8d6a360 100644 --- a/test/CodeGen/debug-info-crash.c +++ b/test/CodeGen/debug-info-crash.c
@@ -19,3 +19,12 @@ } ); } + +// radar://9008853 +typedef struct P { + int x; +} PS; +# 1 "" +void foo() { + PS p2; +}