2013-04-02 21:38:48 +08:00
|
|
|
// PR15642
|
|
|
|
// RUN: rm -rf %t.dir
|
|
|
|
// RUN: mkdir -p %t.dir
|
|
|
|
// RUN: echo > '%t.dir/ .h'
|
|
|
|
// RUN: echo > '%t.dir/$$.h'
|
|
|
|
// RUN: echo > '%t.dir/##.h'
|
2015-04-28 02:14:32 +08:00
|
|
|
// RUN: echo > '%t.dir/normal.h'
|
2013-04-02 21:38:48 +08:00
|
|
|
// RUN: cd %t.dir
|
|
|
|
// RUN: %clang -MD -MF - %s -fsyntax-only -I. | FileCheck -strict-whitespace %s
|
2015-04-28 02:14:32 +08:00
|
|
|
// RUN: %clang -MD -MF - -MV %s -fsyntax-only -I. | FileCheck -strict-whitespace %s --check-prefix=QUOTE
|
2013-04-02 21:38:48 +08:00
|
|
|
|
|
|
|
// CHECK: \ \ \ \ .h
|
|
|
|
// CHECK: $$$$.h
|
|
|
|
// CHECK: \#\#.h
|
2015-04-28 02:14:32 +08:00
|
|
|
// QUOTE: " .h"
|
|
|
|
// QUOTE: "$$.h"
|
|
|
|
// QUOTE: "##.h"
|
|
|
|
// QUOTE-NOT: "
|
|
|
|
// QUOTE: normal.h
|
|
|
|
// QUOTE-NOT: "
|
2013-04-02 21:38:48 +08:00
|
|
|
|
|
|
|
#include " .h"
|
|
|
|
#include "$$.h"
|
|
|
|
#include "##.h"
|
2015-04-28 02:14:32 +08:00
|
|
|
#include "normal.h"
|