1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
3 #define OBJCLASS(name) // expected-note {{macro 'OBJCLASS' defined here}}
7 NSMutableData *test() { // expected-note {{to match this '{'}}
8 NSMutableData *data = [[[OBJCLASS(NSMutableDataOBJCLASS( alloc] init] autorelease]; // expected-error {{unterminated function-like macro invocation}} \
9 // expected-error {{expected ';' at end of declaration}}
11 } // expected-error {{expected expression}} expected-error {{expected '}'}}