aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC/2007-09-05-ConstCtor.c
blob: 6d9fbd5c14b873a173ac38b90aa17350634b88d4 (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 PR2452

struct A {
  unsigned long l;
};

void bar(struct A *a);

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