summaryrefslogtreecommitdiff
path: root/tools/llvm/module-test.cpp
blob: 9f1b837b7d2565b6d472ee3d2a04630e958a0ba6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Test that NDEBUG works
#undef NDEBUG
#include <cassert>
#define NDEBUG
#include <cassert>
int
main()
{
	assert(this code is not compiled);
}

#ifndef _LIBCPP_VERSION
#error "Modules currently requires libc++"
#endif