• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: not %clang_cc1 -fsyntax-only %s 2>&1 | FileCheck -strict-whitespace %s
2 
3 int x[sizeofint];
4 // CHECK: warning: null character ignored
5 // CHECK-NEXT: int x[sizeof<U+0000>int];
6 // CHECK-NEXT:             ^
7 
8 // CHECK: error: expected parentheses around type name in sizeof expression
9 // CHECK-NEXT: int x[sizeof<U+0000>int];
10 // CHECK-NEXT:             ^
11 // CHECK-NEXT:             (          )
12