Fix tests.
[oota-llvm.git] / test / C++Frontend / 2006-11-30-ConstantExprCrash.cpp
1 // RUN: %llvmgxx %s -emit-llvm -S -o -
2 // PR1027
3
4 struct sys_var {
5   unsigned name_length;
6
7   bool no_support_one_shot;
8   sys_var() {}
9 };
10
11
12 struct sys_var_thd : public sys_var {
13 };
14
15 extern sys_var_thd sys_auto_is_null;
16
17 sys_var *getsys_variables() {
18   return &sys_auto_is_null;
19 }
20
21 sys_var *sys_variables = &sys_auto_is_null;
22
23
24
25
26
27