brintos

brintos / llvm-project-archived public Read only

0
0
Text · 324 B · 2088e63 Raw
22 lines · cpp
1// RUN: %clang_cc1 %s -emit-llvm -o -2// PR10273 4struct sys_var {5  unsigned name_length;6 7  bool no_support_one_shot;8  sys_var() {}9};10 11 12struct sys_var_thd : public sys_var {13};14 15extern sys_var_thd sys_auto_is_null;16 17sys_var *getsys_variables() {18  return &sys_auto_is_null;19}20 21sys_var *sys_variables = &sys_auto_is_null;22