summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHaojian Wu <hokein@google.com>2017-04-27 09:20:46 +0000
committerHaojian Wu <hokein@google.com>2017-04-27 09:20:46 +0000
commit838c60f4050560d6708179428e054177f4ef5255 (patch)
tree34e1fa1cff6ab31ac8806b326f79510ad6bf1c66
parent4716854687afd66b2c5490c235fdeed897dbf179 (diff)
downloadbcm5719-llvm-838c60f4050560d6708179428e054177f4ef5255.tar.gz
bcm5719-llvm-838c60f4050560d6708179428e054177f4ef5255.zip
Don't hard-code "modules-cache-path" in the test.
llvm-svn: 301525
-rw-r--r--clang/test/Modules/malformed-overload.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Modules/malformed-overload.m b/clang/test/Modules/malformed-overload.m
index ad6db8a46c3..d1f400e9ffa 100644
--- a/clang/test/Modules/malformed-overload.m
+++ b/clang/test/Modules/malformed-overload.m
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -I%S/Inputs/malformed-overload -fmodules -fimplicit-module-maps -fmodules-cache-path=tmp -verify %s
+// RUN: %clang_cc1 -fsyntax-only -I%S/Inputs/malformed-overload -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -verify %s
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"
OpenPOWER on IntegriCloud