[flang] Don't needlessly instantiate distinct UNSIGNED cases for FINDLOC (#120471)
[llvm-project.git] / clang / test / CodeGen / mangle-ms.c
blob13d23c6e690271063b168e9599d9214958c9ca6e
1 // RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-pc-win32 | FileCheck %s
3 // CHECK: define dso_local void @"?f@@$$J0YAXP6AX@Z@Z"
4 __attribute__((overloadable)) void f(void (*x)()) {}
6 // CHECK: define dso_local void @f
7 void f(void (*x)(int)) {}
9 // CHECK: define dso_local void @g
10 void g(void (*x)(int)) {}
12 // CHECK: define dso_local void @"?g@@$$J0YAXP6AX@Z@Z"
13 __attribute__((overloadable)) void g(void (*x)()) {}