Check that ?: parses its RHS as 'expression'.

llvm-svn: 38878
This commit is contained in:
Chris Lattner 2006-08-12 17:04:23 +00:00
parent a0927cecb5
commit eb17652f5f

View File

@ -58,3 +58,7 @@ void test6() {
//int A = (struct{ int a;}){ 1}.a;
int A = (int){ 1}.a;
}
int test7(int a, int b) {
return a ? a,b : a;
}