[WinEH] Remove unused intrinsic llvm.x86.seh.restoreframe
[oota-llvm.git] / test / MC / ARM / elf-thumbfunc.s
index 0ea11821b96ba6ada8712999d0bffef74eccb673..af061b50bc3d224511d23cdb7df844617d6a79e5 100644 (file)
 foo:
        bx      lr
 
-@@ make sure foo is thumb function: bit 0 = 1 (st_value)
+       .global bar
+bar = foo
+
+@@ make sure foo and bar are thumb function: bit 0 = 1 (st_value)
+@CHECK:        Symbol {
+@CHECK:          Name: bar
+@CHECK-NEXT:     Value: 0x1
+@CHECK-NEXT:     Size: 0
+@CHECK-NEXT:     Binding: Global
+@CHECK-NEXT:     Type: Function
+
 @CHECK:        Symbol {
 @CHECK:          Name: foo
 @CHECK-NEXT:     Value: 0x1