Mercurial > hg > CbC > CbC_llvm
view clang/test/Preprocessor/minimize-whitespace-messages.c @ 237:c80f45b162ad llvm-original
add some fix
author | kono |
---|---|
date | Wed, 09 Nov 2022 17:47:54 +0900 |
parents | c4bab56944e8 |
children |
line wrap: on
line source
// RUN: not %clang -c -fminimize-whitespace %s 2>&1 | FileCheck %s --check-prefix=ON // ON: error: invalid argument '-fminimize-whitespace' only allowed with '-E' // RUN: not %clang -c -fno-minimize-whitespace %s 2>&1 | FileCheck %s --check-prefix=OFF // OFF: error: invalid argument '-fno-minimize-whitespace' only allowed with '-E' // RUN: not %clang -E -fminimize-whitespace -x assembler-with-cpp %s 2>&1 | FileCheck %s --check-prefix=ASM // ASM: error: '-fminimize-whitespace' invalid for input of type assembler-with-cpp