commit | 3364e626147dd6fc5e33d12cda0eaaa50baf2206 | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Sat Jan 16 00:43:13 2010 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Sat Jan 16 00:43:13 2010 +0000 |
tree | 75e8b2a1d1f4e25556cccdb6f77a7faba77cdf19 | |
parent | edc8aa68ef91aeea686c5aadf64ef902c38318dd [diff] [blame] |
Fix crash generating debug info for constructor for anonymous struct. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93601 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGenCXX/debug-info.cpp b/test/CodeGenCXX/debug-info.cpp index 705491e..cb6e830 100644 --- a/test/CodeGenCXX/debug-info.cpp +++ b/test/CodeGenCXX/debug-info.cpp
@@ -18,3 +18,9 @@ int B::*a = 0; void (B::*b)() = 0; } + +namespace EmptyNameCrash { + struct A { A(); }; + typedef struct { A x; } B; + B x; +}