commit | 1728c232d5e0de822c81c5b7e5e8b17027dfd603 | [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 | 0b010b285a59ece8b0e067237c30d3501e67276c | |
parent | 4b22e7e67a24f08abd3cfd5528c42f3bc6f9b7c6 [diff] [blame] |
If preprocessed token introduced empty filename then use main translation unit's filename for debug info entries. llvm-svn: 125672
diff --git a/clang/test/CodeGen/debug-info-crash.c b/clang/test/CodeGen/debug-info-crash.c index e0c9dd4..8d6a360 100644 --- a/clang/test/CodeGen/debug-info-crash.c +++ b/clang/test/CodeGen/debug-info-crash.c
@@ -19,3 +19,12 @@ } ); } + +// radar://9008853 +typedef struct P { + int x; +} PS; +# 1 "" +void foo() { + PS p2; +}