1; The purpose of this test is to see if the MC layer properly handles symbol
2; names needing quoting on MS/Windows. This code is generated by clang when
3; using -cxx-abi microsoft.
4
5; RUN: llc -filetype=asm -mtriple i686-pc-win32 %s -o - | FileCheck %s
6
7; CHECK: ?sayhi@A@@QBEXXZ
8
9%struct.A = type {}
10
11define i32 @main() {
12entry:
13  tail call void @"\01?sayhi@A@@QBEXXZ"(%struct.A* null)
14  ret i32 0
15}
16
17declare void @"\01?sayhi@A@@QBEXXZ"(%struct.A*)
18