| 1 | // RUN: rm -rf %t |
| 2 | // RUN: %clang_cc1 -fsyntax-only -I%S/Inputs/malformed-overload -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -verify %s |
| 3 | 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}} |
| 4 | #import "X.h" |
| 5 | |
| 6 | @class NSString; |
| 7 | void f(NSString *a) { |
| 8 | NSLog(@"***** failed to get URL for %@", a); |
| 9 | } |
| 10 | |