aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/statements.c
blob: 4092121393508c922e5289964c09dcef257fa4e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: clang < %s -emit-llvm

void test1(int x) {
switch (x) {
case 111111111111111111111111111111111111111:
bar();
}
}

// Mismatched type between return and function result.
int test2() { return; }
void test3() { return 4; }