WCDH: Test that no C compiler features are defined for CXX compiler.
This amends commit 54156d72
(WCDH: Generate per-language files
in multi-file mode., 2015-01-17).
This commit is contained in:
parent
8dc0c97666
commit
3c0996c135
|
@ -4,6 +4,10 @@
|
||||||
#define PREFIX TEST
|
#define PREFIX TEST
|
||||||
#include "compile_tests.h"
|
#include "compile_tests.h"
|
||||||
|
|
||||||
|
#ifdef TEST_COMPILER_C_STATIC_ASSERT
|
||||||
|
#error Expect no C features defined
|
||||||
|
#endif
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -4,6 +4,10 @@
|
||||||
#define PREFIX MULTI
|
#define PREFIX MULTI
|
||||||
#include "compile_tests.h"
|
#include "compile_tests.h"
|
||||||
|
|
||||||
|
#ifdef MULTI_COMPILER_C_STATIC_ASSERT
|
||||||
|
#error Expect no C features defined
|
||||||
|
#endif
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue