1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Add an explicit target triple to make this test behave as expected on

non-Apple hosts. And use the count script instead of wc + grep.

llvm-svn: 42878
This commit is contained in:
Dan Gohman 2007-10-11 23:04:36 +00:00
parent ee654dc6ef
commit 9a70be46f1

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=x86 -enable-eh | grep {isNullOrNil].eh"} | wc -l | grep 2
; RUN: llvm-as < %s | llc -march=x86 -mtriple=i686-apple-darwin -enable-eh | grep {isNullOrNil].eh"} | count 2
%struct.NSString = type { }
%struct._objc__method_prototype_list = type opaque