diff options
author | Brad King <brad.king@kitware.com> | 2013-05-24 13:19:15 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-05-24 13:19:15 (GMT) |
commit | 14d90d81de5ecdeb23a0798865f83598689f237d (patch) | |
tree | 56c8ebfdac8f6aba7eb61a50769323c5dce6b2ed /Tests/CompileDefinitions/compiletest_mixed_cxx.cpp | |
parent | 4ae24a105e418068abe85e300c33a7e6a7754d69 (diff) | |
parent | 32410140a7c592090249db772fd5f18c7808a3aa (diff) | |
download | CMake-14d90d81de5ecdeb23a0798865f83598689f237d.zip CMake-14d90d81de5ecdeb23a0798865f83598689f237d.tar.gz CMake-14d90d81de5ecdeb23a0798865f83598689f237d.tar.bz2 |
Merge topic 'language-generator-expressions'
3241014 Add $<LINK_LANGUAGE> generator expression
Diffstat (limited to 'Tests/CompileDefinitions/compiletest_mixed_cxx.cpp')
-rw-r--r-- | Tests/CompileDefinitions/compiletest_mixed_cxx.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Tests/CompileDefinitions/compiletest_mixed_cxx.cpp b/Tests/CompileDefinitions/compiletest_mixed_cxx.cpp new file mode 100644 index 0000000..c686854 --- /dev/null +++ b/Tests/CompileDefinitions/compiletest_mixed_cxx.cpp @@ -0,0 +1,19 @@ + +#ifndef LINK_CXX_DEFINE +#error Expected LINK_CXX_DEFINE +#endif +#ifndef LINK_LANGUAGE_IS_CXX +#error Expected LINK_LANGUAGE_IS_CXX +#endif + +#ifdef LINK_C_DEFINE +#error Unexpected LINK_C_DEFINE +#endif +#ifdef LINK_LANGUAGE_IS_C +#error Unexpected LINK_LANGUAGE_IS_C +#endif + +int main(int argc, char **argv) +{ + return 0; +} |