OSDN Git Service

Fix this test. Don't null out the file, just XFAIL it until patch can be fixed.
authorBill Wendling <isanbard@gmail.com>
Sun, 24 Aug 2008 21:48:46 +0000 (21:48 +0000)
committerBill Wendling <isanbard@gmail.com>
Sun, 24 Aug 2008 21:48:46 +0000 (21:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55296 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/fold-call-2.ll

index e69de29..fe060a7 100644 (file)
@@ -0,0 +1,11 @@
+; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin | grep mov | count 1
+; XFAIL: *
+
+@f = external global void ()*          ; <void ()**> [#uses=1]
+
+define i32 @main() nounwind {
+entry:
+       load void ()** @f, align 8              ; <void ()*>:0 [#uses=1]
+       tail call void %0( ) nounwind
+       ret i32 0
+}