xref: /minix3/external/bsd/libc++/dist/libcxx/test/std/diagnostics/assertions/cassert.pass.cpp (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1 //===----------------------------------------------------------------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 // test <cassert>
11 
12 #include <cassert>
13 
14 #ifndef assert
15 #error assert not defined
16 #endif
17 
18 #ifndef _LIBCPP_VERSION
19 #error _LIBCPP_VERSION not defined
20 #endif
21 
main()22 int main()
23 {
24 }
25