2017-04-27 21:08:48 +08:00
|
|
|
// RUN: rm -rf %t
|
2017-04-27 17:20:46 +08:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -I%S/Inputs/malformed-overload -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -verify %s
|
2017-04-27 04:13:45 +08:00
|
|
|
NSLog(@"%@", path); // expected-error {{expected parameter declarator}} expected-error {{expected ')'}} expected-warning {{type specifier missing}} expected-warning {{incompatible redeclaration}} expected-note {{to match this '('}} expected-note {{'NSLog' is a builtin with type}}
|
|
|
|
#import "X.h"
|
|
|
|
|
|
|
|
@class NSString;
|
|
|
|
void f(NSString *a) {
|
|
|
|
NSLog(@"***** failed to get URL for %@", a);
|
|
|
|
}
|