Home | History | Annotate | Line # | Download | only in llvm
      1  1.1  joerg // Test that NDEBUG works
      2  1.1  joerg #undef NDEBUG
      3  1.1  joerg #include <cassert>
      4  1.1  joerg #define NDEBUG
      5  1.1  joerg #include <cassert>
      6  1.1  joerg int
      7  1.1  joerg main()
      8  1.1  joerg {
      9  1.1  joerg 	assert(this code is not compiled);
     10  1.1  joerg }
     11  1.1  joerg 
     12  1.1  joerg #ifndef _LIBCPP_VERSION
     13  1.1  joerg #error "Modules currently requires libc++"
     14  1.1  joerg #endif
     15