1 // RUN: %clang_cc1 -fsyntax-only -verify -Wmissing-noreturn -fobjc-exceptions -Wno-objc-root-class %s
17 void test3(int a) { // expected-warning {{function 'test3' could be declared with attribute 'noreturn'}}
24 // This code always returns, we should not issue a noreturn warning.
27 NSString *rdar_4289832(void) { // no-warning
32 @catch(NSException *exception)
41 void exit(int) __attribute__((noreturn));
42 @interface rdar10098695
45 @implementation rdar10098695
46 - (void)method { // expected-warning{{method 'method' could be declared with attribute 'noreturn'}}