Chris Lattner | d2beaa6 | 2005-02-14 02:54:41 +0000 | [diff] [blame] | 1 | // RUN: %llvmgxx %s -S -o - | not grep llvm.global_ctors |
2 | // This testcase corresponds to PR509 | ||||
3 | struct Data { | ||||
4 | unsigned *data; | ||||
5 | unsigned array[1]; | ||||
6 | }; | ||||
7 | |||||
8 | Data shared_null = { shared_null.array }; | ||||
9 |