Clang Project

clang_source_code/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
7void f(void (*x)(int)) {}
8
9// CHECK: define dso_local void @g
10void g(void (*x)(int)) {}
11
12// CHECK: define dso_local void @"?g@@$$J0YAXP6AX@Z@Z"
13__attribute__((overloadable)) void g(void (*x)()) {}
14