1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/FrontendC++/2005-02-13-BadDynamicInit.cpp
Anton Korobeynikov eb3cd5e822 For PR1338: Rename test dirs
llvm-svn: 51695
2008-05-29 19:17:15 +00:00

10 lines
195 B
C++

// RUN: %llvmgxx %s -S -o - | not grep llvm.global_ctors
// This testcase corresponds to PR509
struct Data {
unsigned *data;
unsigned array[1];
};
Data shared_null = { shared_null.array };