diff options
author | Brad King <brad.king@kitware.com> | 2019-04-09 12:43:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-04-09 12:44:56 (GMT) |
commit | 0d641fcfad232a6981f587a8ee077dcf08432843 (patch) | |
tree | c164814b8d1ada11b1e31637814f095d5f301f78 /Tests | |
parent | 3e129d71bc12a325c0548aaaea24470cd172470b (diff) | |
download | CMake-0d641fcfad232a6981f587a8ee077dcf08432843.zip CMake-0d641fcfad232a6981f587a8ee077dcf08432843.tar.gz CMake-0d641fcfad232a6981f587a8ee077dcf08432843.tar.bz2 |
Tests: Remove outdated portion of CompileFeatures genex test
The genex part of the test verifies that `$<COMPILE_FEATURES:...>`
evaluates as expected. It does not need to actually try using code with
the associated features, as that is tested separately.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/CompileFeatures/genex_test.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Tests/CompileFeatures/genex_test.cpp b/Tests/CompileFeatures/genex_test.cpp index 4539789..53dce62 100644 --- a/Tests/CompileFeatures/genex_test.cpp +++ b/Tests/CompileFeatures/genex_test.cpp @@ -31,17 +31,6 @@ # if !EXPECT_OVERRIDE_CONTROL # error "Expect no override control feature" # endif - -struct A -{ - virtual int getA() { return 7; } -}; - -struct B final : A -{ - int getA() override { return 42; } -}; - #endif #if !HAVE_AUTO_TYPE |