Revert: Fix wrong code offset for unwind code SET_FPREG.
[oota-llvm.git] / test / MC / COFF / symbol-mangling.ll
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
11 define i32 @main() {
12 entry:
13   tail call void @"\01?sayhi@A@@QBEXXZ"(%struct.A* null)
14   ret i32 0
15 }
16
17 declare void @"\01?sayhi@A@@QBEXXZ"(%struct.A*)