summaryrefslogtreecommitdiffstats
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.m4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/CodeGenObjC/objc-literal-tests.m b/test/CodeGenObjC/objc-literal-tests.m
index c513d49..c53ee64 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() nounwind
+// CHECK: define i32 @main() [[NUW:#[0-9]+]]
int main() {
// CHECK: call{{.*}}@objc_msgSend{{.*}}i8 signext 97
NSNumber *aNumber = @'a';
@@ -93,3 +93,5 @@ extern void bar(foo a);
void baz(void) {
bar(^(void) { return YES; });
}
+
+// CHECK: attributes [[NUW]] = { nounwind{{.*}} }
OpenPOWER on IntegriCloud