mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
new testcase for PR1027
llvm-svn: 32063
This commit is contained in:
parent
c65612e859
commit
43412fff16
27
test/Regression/C++Frontend/2006-11-30-ConstantExprCrash.cpp
Normal file
27
test/Regression/C++Frontend/2006-11-30-ConstantExprCrash.cpp
Normal file
@ -0,0 +1,27 @@
|
||||
// RUN: %llvmgxx %s -emit-llvm -S -o -
|
||||
// PR1027
|
||||
|
||||
struct sys_var {
|
||||
unsigned name_length;
|
||||
|
||||
bool no_support_one_shot;
|
||||
sys_var() {}
|
||||
};
|
||||
|
||||
|
||||
struct sys_var_thd : public sys_var {
|
||||
};
|
||||
|
||||
extern sys_var_thd sys_auto_is_null;
|
||||
|
||||
sys_var *getsys_variables() {
|
||||
return &sys_auto_is_null;
|
||||
}
|
||||
|
||||
sys_var *sys_variables = &sys_auto_is_null;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user