8 // RUN: echo "#ifndef HEADER_A" > %t.dir/a/header.h
9 // RUN: echo "#define HEADER_A" >> %t.dir/a/header.h
10 // RUN: echo "#endif" >> %t.dir/a/header.h
11 // RUN: ln -s %t.dir/a/header.h %t.dir/b/header.h
13 // RUN: %clang_cc1 -dependency-file %t.dir/file.deps -MT %s.o %s -fsyntax-only -I %t.dir -isystem %S/Inputs/SystemHeaderPrefix
14 // RUN: FileCheck -input-file=%t.dir/file.deps %s
15 // CHECK: dependency-gen-symlink.c.o
16 // CHECK: dependency-gen-symlink.c
19 // CHECK-NOT: with-header-guard.h
22 // System header shouldn't be included in dependencies.
23 #include <with-header-guard.h>
24 #include <with-header-guard.h>