diff options
Diffstat (limited to 'clang/test/Analysis/func-mapping-test.cpp')
| -rw-r--r-- | clang/test/Analysis/func-mapping-test.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/Analysis/func-mapping-test.cpp b/clang/test/Analysis/func-mapping-test.cpp index f6eeb261da5..5c04d9411fe 100644 --- a/clang/test/Analysis/func-mapping-test.cpp +++ b/clang/test/Analysis/func-mapping-test.cpp @@ -41,3 +41,10 @@ union U { }; U u = {.a = 6}; // CHECK-DAG: c:@u + +// No USR can be generated for this. +// Check for no crash in this case. +static union { + float uf; + const int ui; +}; |

