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 | 68045b1d4de4b332b7c478e81b5c4383891ba593 (patch) | |
tree | a44997d617608a9d73e192f223a3fc371e73e06a | |
parent | f8c2a33b6e47c494b83e68f02f4ee67ca8fd8e3b (diff) |
Add test for PRr11676.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147363 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGenCXX/pr11676.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGenCXX/pr11676.cpp b/test/CodeGenCXX/pr11676.cpp new file mode 100644 index 0000000000..78e7a5fe02 --- /dev/null +++ b/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(); +} |