blob: e9aba558c62f8cd1a33a52778a1af72ca9283a59 [file] [log] [blame]
Vinicius Tinti92e68c22015-11-20 23:42:39 +00001// 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
3int \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 '('