aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenObjC/objc-literal-tests.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenObjC/objc-literal-tests.m')
-rw-r--r--test/CodeGenObjC/objc-literal-tests.m6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/CodeGenObjC/objc-literal-tests.m b/test/CodeGenObjC/objc-literal-tests.m
index d991b960cd..c53ee644f0 100644
--- a/test/CodeGenObjC/objc-literal-tests.m
+++ b/test/CodeGenObjC/objc-literal-tests.m
@@ -53,7 +53,7 @@ typedef signed char BOOL;
id NSUserName();
-// CHECK: define i32 @main() #0
+// CHECK: define i32 @main() [[NUW:#[0-9]+]]
int main() {
// CHECK: call{{.*}}@objc_msgSend{{.*}}i8 signext 97
NSNumber *aNumber = @'a';
@@ -94,6 +94,4 @@ void baz(void) {
bar(^(void) { return YES; });
}
-// CHECK: attributes #0 = { nounwind "target-features"={{.*}} }
-// CHECK: attributes #1 = { nonlazybind }
-// CHECK: attributes #2 = { "target-features"={{.*}} }
+// CHECK: attributes [[NUW]] = { nounwind{{.*}} }