aboutsummaryrefslogtreecommitdiff
path: root/test/Parser/control-scope.c
blob: 62f79dbdf1736ea6c1374a1da0bf07b29bad1391 (plain)
1
2
3
4
5
6
7
8
// RUN: not clang %s -std=c90
// RUN: clang %s -std=c99

int f (int z) { 
  if (z + sizeof (enum {a})) 
    return 1 + sizeof (enum {a}); 
  return 0; 
}