summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/mangle-ms.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/mangle-ms.c')
-rw-r--r--test/CodeGen/mangle-ms.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGen/mangle-ms.c b/test/CodeGen/mangle-ms.c
new file mode 100644
index 0000000..0ad43d5
--- /dev/null
+++ b/test/CodeGen/mangle-ms.c
@@ -0,0 +1,4 @@
+// RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-pc-win32 | FileCheck %s
+
+// CHECK: define void @"\01?f@@$$J0YAXP6AX@Z@Z"
+__attribute__((overloadable)) void f(void (*x)()) {}
OpenPOWER on IntegriCloud