1 // RUN: %clang_cc1 -fsyntax-only -triple x86_64-apple-darwin10.4 -verify -Wno-objc-root-class %s
2 // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -triple x86_64-apple-darwin10.4 -verify -Wno-objc-root-class %s
4 // expected-no-diagnostics
6 + (void)F __attribute__((no_instrument_function)); // no warning
7 - (void)f __attribute__((objc_direct, no_instrument_function));
12 + (void)F __attribute__((no_instrument_function)) {