diff options
author | Akira Hatanaka <ahatanaka@apple.com> | 2015-07-03 00:50:30 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@apple.com> | 2015-07-03 00:50:30 +0000 |
commit | cf8b8c997b3ac5e8b178cf79485ce53c3b859905 (patch) | |
tree | a30cf3a1643ca6b233a06ed0d3b61a7ebc9cc7f6 /test/CodeGenCXX | |
parent | eb4602db1a5063263d3fae4b271ab0243446cc38 (diff) | |
download | clang-cf8b8c997b3ac5e8b178cf79485ce53c3b859905.tar.gz |
Fix test case to appease buildbot.
Test case trap-fnattr.cpp was failng on clang-ppc64-elf-linux2 because ppc64
sign-extends the i32 return value.
This is a follow-up to r241306.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241314 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX')
-rw-r--r-- | test/CodeGenCXX/trap-fnattr.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGenCXX/trap-fnattr.cpp b/test/CodeGenCXX/trap-fnattr.cpp index d9d6f81599..4b7d521dfa 100644 --- a/test/CodeGenCXX/trap-fnattr.cpp +++ b/test/CodeGenCXX/trap-fnattr.cpp @@ -11,19 +11,19 @@ void test_builtin(void) { __builtin_trap(); } -// TRAPFUNC-LABEL: define i32 @_Z13test_noreturnv +// TRAPFUNC-LABEL: define i32 {{.*}}@_Z13test_noreturnv // TRAPFUNC: call void @llvm.trap() [[ATTR0]] -// NOOPTION-LABEL: define i32 @_Z13test_noreturnv +// NOOPTION-LABEL: define i32 {{.*}}@_Z13test_noreturnv // NOOPTION: call void @llvm.trap(){{$}} int test_noreturn(void) { } -// TRAPFUNC-LABEL: define i32 @_Z17test_add_overflowii +// TRAPFUNC-LABEL: define i32 {{.*}}@_Z17test_add_overflowii // TRAPFUNC: call void @llvm.trap() [[ATTR1:#[0-9]+]] -// NOOPTION-LABEL: define i32 @_Z17test_add_overflowii +// NOOPTION-LABEL: define i32 {{.*}}@_Z17test_add_overflowii // NOOPTION: call void @llvm.trap() [[ATTR2:#[0-9]+]] int test_add_overflow(int a, int b) { |