summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC/objc-literal-tests.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGenObjC/objc-literal-tests.m')
-rw-r--r--clang/test/CodeGenObjC/objc-literal-tests.m6
1 files changed, 5 insertions, 1 deletions
diff --git a/clang/test/CodeGenObjC/objc-literal-tests.m b/clang/test/CodeGenObjC/objc-literal-tests.m
index c513d496110..d991b960cdb 100644
--- a/clang/test/CodeGenObjC/objc-literal-tests.m
+++ b/clang/test/CodeGenObjC/objc-literal-tests.m
@@ -53,7 +53,7 @@ typedef signed char BOOL;
id NSUserName();
-// CHECK: define i32 @main() nounwind
+// CHECK: define i32 @main() #0
int main() {
// CHECK: call{{.*}}@objc_msgSend{{.*}}i8 signext 97
NSNumber *aNumber = @'a';
@@ -93,3 +93,7 @@ extern void bar(foo a);
void baz(void) {
bar(^(void) { return YES; });
}
+
+// CHECK: attributes #0 = { nounwind "target-features"={{.*}} }
+// CHECK: attributes #1 = { nonlazybind }
+// CHECK: attributes #2 = { "target-features"={{.*}} }
OpenPOWER on IntegriCloud