mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-04 17:58:22 +00:00
772aa15a4d
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32063 91177308-0d34-0410-b5e6-96231b3b80d8
28 lines
331 B
C++
28 lines
331 B
C++
// 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;
|
|
|
|
|
|
|
|
|
|
|
|
|