diff options
author | dim <dim@FreeBSD.org> | 2015-05-27 18:47:56 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2015-05-27 18:47:56 +0000 |
commit | 3191b2b32a96e1a6ee833fcca73e5c8e0c67ba65 (patch) | |
tree | dbbd4047878da71c1a706e26ce05b4e7791b14cc /test/Modules/malformed.cpp | |
parent | 38d6f2e7f2ce51a5b3836d26596c6c34a3288752 (diff) | |
download | FreeBSD-src-3191b2b32a96e1a6ee833fcca73e5c8e0c67ba65.zip FreeBSD-src-3191b2b32a96e1a6ee833fcca73e5c8e0c67ba65.tar.gz |
Vendor import of clang trunk r238337:
https://llvm.org/svn/llvm-project/cfe/trunk@238337
Diffstat (limited to 'test/Modules/malformed.cpp')
-rw-r--r-- | test/Modules/malformed.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/Modules/malformed.cpp b/test/Modules/malformed.cpp index 2554c3a..2d07c4c 100644 --- a/test/Modules/malformed.cpp +++ b/test/Modules/malformed.cpp @@ -1,8 +1,6 @@ // This test explicitly cd's to the test/Modules directory so that we can test // that filenames found via relative -I paths are printed correctly. // -// REQUIRES: shell -// // RUN: rm -rf %t // RUN: cd %S // RUN: not %clang_cc1 -fmodules -fmodules-cache-path=%t -I Inputs/malformed -DHEADER="a1.h" %s 2>&1 | FileCheck %s --check-prefix=CHECK-A @@ -32,6 +30,6 @@ void test() { f<int>(); } // Test that we use relative paths to name files within an imported module. // -// CHECK-C: In module 'c' imported from malformed.cpp:14: +// CHECK-C: In module 'c' imported from malformed.cpp:12: // CHECK-C: {{^}}Inputs/malformed/c.h:1:33: error: type 'int' cannot be used prior to '::' // CHECK-C: {{^}}malformed.cpp:[[@LINE-5]]:15: note: in instantiation of |