1 // Trivial check to ensure skip-function-bodies flag is propagated.
3 // RUN: %clang_cc1 -verify -skip-function-bodies -pedantic-errors %s
4 // expected-no-diagnostics
7 // normally this should emit some diags, but we're skipping it!
11 // Make sure we only accept it as a cc1 arg.
12 // RUN: not %clang -skip-function-bodies %s 2>&1 | FileCheck %s
13 // CHECK: clang: error: unknown argument '-skip-function-bodies'; did you mean '-Xclang -skip-function-bodies'?