summaryrefslogtreecommitdiffstats
path: root/test/FrontendC/2003-08-21-StmtExpr.c
blob: 7f7d22ea9d7b1e964a2045c789bac5b47ef8e9d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null


typedef struct {
  unsigned long val;
} structty;

void bar(structty new_mask);
static void foo() {
  bar(({ structty mask; mask; }));
}

OpenPOWER on IntegriCloud