Vinicius Tinti | 92e68c2 | 2015-11-20 23:42:39 +0000 | [diff] [blame^] | 1 | // RUN: %clang -S %s -o - | FileCheck %s -check-prefix=ALLOWED |
2 | // RUN: not %clang -std=c89 -S %s -o - 2>&1 | FileCheck %s -check-prefix=DENIED | ||||
3 | int \uaccess = 0; | ||||
4 | // ALLOWED: "곎ss": | ||||
5 | // ALLOWED-NOT: "\uaccess": | ||||
6 | // DENIED: warning: universal character names are only valid in C99 or C++; treating as '\' followed by identifier [-Wunicode] | ||||
7 | // DENIED: error: expected identifier or '(' |