view clang/test/Frontend/absolute-paths-windows.test @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children
line wrap: on
line source

// REQUIRES: system-windows
// RUN: rm -rf %t.dir
// RUN: mkdir -p %t.dir\real
// RUN: cmd /c mklink /j %t.dir\junc %t.dir\real
// RUN: echo "wrong code" > %t.dir\real\foo.cpp
// RUN: not %clang_cc1 -fsyntax-only -fdiagnostics-absolute-paths %t.dir\junc\foo.cpp 2>&1 | FileCheck %s

// CHECK-NOT: .dir\real\foo.cpp
// CHECK: .dir\junc\foo.cpp