| // RUN: %clang_cc1 %s -verify -fsyntax-only |
| switch (arr) { // expected-error{{statement requires expression of integer type ('_Complex int' invalid)}} |
| case brr: ; // expected-error{{expression is not an integer constant expression}} |
| case xx: ; // expected-error{{expression is not an integer constant expression}} |
| #define TestPair(m,n) int x##m##n = a##m+a##n; |
| #define TestPairs(m) TestPair(m,1) TestPair(m,2) \ |
| TestPair(m,3) TestPair(m,4) \ |
| TestPair(m,5) TestPair(m,6) \ |
| TestPair(m,7) TestPair(m,8) |
| TestPairs(1); TestPairs(2); |
| TestPairs(3); TestPairs(4); |
| TestPairs(5); TestPairs(6); |
| TestPairs(7); TestPairs(8); |
| void test3(_Complex int *x) { |
| void test4(_Complex float *x) { |