summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ucn-identifiers.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/ucn-identifiers.c')
-rw-r--r--test/CodeGen/ucn-identifiers.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/CodeGen/ucn-identifiers.c b/test/CodeGen/ucn-identifiers.c
new file mode 100644
index 0000000..56e3aa5
--- /dev/null
+++ b/test/CodeGen/ucn-identifiers.c
@@ -0,0 +1,14 @@
+// RUN: %clang_cc1 %s -emit-llvm -o /dev/null
+// RUN: %clang_cc1 %s -emit-llvm -o /dev/null -x c++
+// This file contains UTF-8; please do not fix!
+
+
+extern void \u00FCber(int);
+extern void \U000000FCber(int); // redeclaration, no warning
+
+void goodCalls() {
+ \u00FCber(0);
+ \u00fcber(1);
+ über(2);
+ \U000000FCber(3);
+}
OpenPOWER on IntegriCloud