OSDN Git Service

2009-11-28 Kai Tietz <kai.tietz@onevision.com>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / ctor1.c
1 /* Related to PR c++/38410.
2    We shouldn't write out a static variable for an all-zero aggregate
3    initializer.  The variable named C.0 was created by
4    gimplify_init_constructor. */
5 /* { dg-final { scan-assembler-not "C\\.0" } } */
6
7 int main()
8 {
9   int a[] = { 0,0 };
10 }