From: Nuno Lopes Date: Tue, 30 Sep 2008 14:37:33 +0000 (+0000) Subject: fix test for latest changes in llvm asm representation X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=33e2c5f8b568eb475a7e94d8cd557cde1768f92b;p=clang fix test for latest changes in llvm asm representation git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56842 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/function-attributes.c b/test/CodeGen/function-attributes.c index bd6553e804..1ee855dbc1 100644 --- a/test/CodeGen/function-attributes.c +++ b/test/CodeGen/function-attributes.c @@ -1,10 +1,10 @@ // RUN: clang -emit-llvm -o %t %s && -// RUN: grep 'define i8 @f0(i32 %x) signext nounwind' %t && -// RUN: grep 'define i8 @f1(i32 %x) zeroext nounwind' %t && +// RUN: grep 'define signext i8 @f0(i32 %x) nounwind' %t && +// RUN: grep 'define zeroext i8 @f1(i32 %x) nounwind' %t && // RUN: grep 'define void @f2(i8 signext %x) nounwind' %t && // RUN: grep 'define void @f3(i8 zeroext %x) nounwind' %t && -// RUN: grep 'define i16 @f4(i32 %x) signext nounwind' %t && -// RUN: grep 'define i16 @f5(i32 %x) zeroext nounwind' %t && +// RUN: grep 'define signext i16 @f4(i32 %x) nounwind' %t && +// RUN: grep 'define zeroext i16 @f5(i32 %x) nounwind' %t && // RUN: grep 'define void @f6(i16 signext %x) nounwind' %t && // RUN: grep 'define void @f7(i16 zeroext %x) nounwind' %t