1 // Check whether output generation options (like -save-temps) will not affect
2 // the execution of the analyzer.
4 // RUN: clang-check -analyze %s -- -save-temps -c -Xclang -verify
6 // Check whether redundant -fsyntax-only options will affect the execution of
9 // RUN: clang-check -analyze %s -- \
10 // RUN: -fsyntax-only -c -fsyntax-only -Xclang -verify 2>&1 | \
11 // RUN: FileCheck %s --allow-empty
13 // CHECK-NOT: argument unused during compilation: '--analyze'
18 *x
= 47; // expected-warning {{Dereference of null pointer}}