aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC/2007-09-05-ConstCtor.c
blob: 0b06cc8dc489fb27de3eaf65e51530621e666bc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// RUN: %llvmgcc -xc -Os -c %s -o /dev/null
// PR1641
// XFAIL: *
// See PR2425

struct A {
  unsigned long l;
};

void bar(struct A *a);

void bork() {
  const unsigned long vcgt = 'vcgt';
  struct A a = { vcgt };
  bar(&a);
}