Add test for PRr11676.

llvm-svn: 147363
This commit is contained in:
Rafael Espindola 2011-12-30 03:13:44 +00:00
parent fafe4b7572
commit f49e9ce849
1 changed files with 8 additions and 0 deletions

View File

@ -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();
}