diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-12-30 03:13:44 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-12-30 03:13:44 +0000 |
commit | f49e9ce849d37f93e925f3186def79bd0a8dfc03 (patch) | |
tree | b580879bb2ff5e3cdcfa6fcfda48e24a24870363 | |
parent | fafe4b7572fd0884e595a04a34a4fddfed6feccb (diff) | |
download | bcm5719-llvm-f49e9ce849d37f93e925f3186def79bd0a8dfc03.tar.gz bcm5719-llvm-f49e9ce849d37f93e925f3186def79bd0a8dfc03.zip |
Add test for PRr11676.
llvm-svn: 147363
-rw-r--r-- | clang/test/CodeGenCXX/pr11676.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/pr11676.cpp b/clang/test/CodeGenCXX/pr11676.cpp new file mode 100644 index 00000000000..78e7a5fe021 --- /dev/null +++ b/clang/test/CodeGenCXX/pr11676.cpp @@ -0,0 +1,8 @@ +// RUN: %clang_cc1 %s -std=c++11 -emit-llvm-only +// CHECK that we don't crash. + +union _XEvent { +}; +void ProcessEvent() { + _XEvent pluginEvent = _XEvent(); +} |