You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
324 B
22 lines
324 B
4 months ago
|
// RUN: %clang_cc1 %s -emit-llvm -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;
|