]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/mangle-ms.c
Vendor import of clang trunk r338150:
[FreeBSD/FreeBSD.git] / test / CodeGen / mangle-ms.c
1 // RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-pc-win32 | FileCheck %s
2
3 // CHECK: define dso_local void @"?f@@$$J0YAXP6AX@Z@Z"
4 __attribute__((overloadable)) void f(void (*x)()) {}
5
6 // CHECK: define dso_local void @f
7 void f(void (*x)(int)) {}
8
9 // CHECK: define dso_local void @g
10 void g(void (*x)(int)) {}
11
12 // CHECK: define dso_local void @"?g@@$$J0YAXP6AX@Z@Z"
13 __attribute__((overloadable)) void g(void (*x)()) {}