summaryrefslogtreecommitdiff
path: root/test/CodeGenCXX
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2015-07-03 01:05:19 +0000
committerAkira Hatanaka <ahatanaka@apple.com>2015-07-03 01:05:19 +0000
commit5245978472a81bd6c2814d635b7218f3f245adea (patch)
treebe525300104ee673e2d3fe8cd4568d37b2e42f97 /test/CodeGenCXX
parentcf8b8c997b3ac5e8b178cf79485ce53c3b859905 (diff)
downloadclang-5245978472a81bd6c2814d635b7218f3f245adea.tar.gz
Make corrections to r241314.
The return type of a function follows the signext attribute. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241315 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX')
-rw-r--r--test/CodeGenCXX/trap-fnattr.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGenCXX/trap-fnattr.cpp b/test/CodeGenCXX/trap-fnattr.cpp
index 4b7d521dfa..5a46d8c41c 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) {