Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git] / test / FrontendC / 2007-09-05-ConstCtor.c
blob8e0e9945ffaa97fdeec2b094c0e083b5eb8022fa
1 // RUN: %llvmgcc -xc -Os -c %s -o /dev/null
2 // PR1641
4 struct A {
5 unsigned long l;
6 };
8 void bar(struct A *a);
10 void bork() {
11 const unsigned long vcgt = 1234;
12 struct A a = { vcgt };
13 bar(&a);