1 // don't create symlinks on windows
2 // UNSUPPORTED: system-windows
6 // RUN: mkdir -p %t/foo/
7 // RUN: ln -f -s %S/Inputs/canonical-system-headers %t/foo/include
8 // RUN: %clang_cc1 -isystem %t/foo/include -sys-header-deps -MT foo.o -dependency-file %t2 %s -fsyntax-only
9 // RUN: FileCheck %s --check-prefix=NOCANON --implicit-check-not=a.h < %t2
10 // RUN: %clang_cc1 -isystem %t/foo/include -sys-header-deps -MT foo.o -dependency-file %t2 %s -fsyntax-only -canonical-system-headers
11 // RUN: FileCheck %s --check-prefix=CANON --implicit-check-not=a.h < %t2
13 // NOCANON: foo/include/a.h
14 // CANON: Inputs/canonical-system-headers/a.h