You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
419 B
14 lines
419 B
// RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-pc-win32 | FileCheck %s
|
|
|
|
// CHECK: define dso_local void @"?f@@$$J0YAXP6AX@Z@Z"
|
|
__attribute__((overloadable)) void f(void (*x)()) {}
|
|
|
|
// CHECK: define dso_local void @f
|
|
void f(void (*x)(int)) {}
|
|
|
|
// CHECK: define dso_local void @g
|
|
void g(void (*x)(int)) {}
|
|
|
|
// CHECK: define dso_local void @"?g@@$$J0YAXP6AX@Z@Z"
|
|
__attribute__((overloadable)) void g(void (*x)()) {}
|