Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / libcxx / test / std / language.support / support.runtime / cstdbool.pass.cpp
blob1d0e9b06a43d2ebdc637cabf21368b4be1373a0d
1 //===----------------------------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 // test <cstdbool>
11 #include <cstdbool>
13 #include "test_macros.h"
15 #ifndef __bool_true_false_are_defined
16 #error __bool_true_false_are_defined not defined
17 #endif
19 #ifdef bool
20 #error bool should not be defined
21 #endif
23 #ifdef true
24 #error true should not be defined
25 #endif
27 #ifdef false
28 #error false should not be defined
29 #endif
31 int main(int, char**)
34 return 0;