3 CHECK: unknown type name 'X'
5 check adding compiler cflags
6 RUN: clang-diff -ast-dump -extra-arg=-Da=X %t.cpp -- 2>&1 | FileCheck %s
7 RUN: clang-diff -ast-dump -extra-arg-before=-Da=X %t.cpp -- 2>&1 | FileCheck %s
8 RUN: clang-diff -ast-dump %t.cpp -- 2>&1 -Da=X | FileCheck %s
10 NOMATCH-CHECK-NOT: {{.}}
11 RUN: clang-diff %S/clang-diff-ast.cpp %S/clang-diff-ast.cpp -- 2>&1 -std=c++11 \
12 RUN: | FileCheck -check-prefix=NOMATCH-CHECK -allow-empty %s