summaryrefslogtreecommitdiffstats
path: root/Tests/CompatibleInterface/main.cpp
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-04-11 20:42:46 (GMT)
committerBrad King <brad.king@kitware.com>2024-04-11 20:48:21 (GMT)
commitf4249cf86f6478e4e87b575063c88974bb600d31 (patch)
tree5c623c7f6d33d54b04b0f0a5e6ebb88bafc9f8e3 /Tests/CompatibleInterface/main.cpp
parent431999d177f4bd7819c1588e93950f31cd44fcd5 (diff)
downloadCMake-f4249cf86f6478e4e87b575063c88974bb600d31.zip
CMake-f4249cf86f6478e4e87b575063c88974bb600d31.tar.gz
CMake-f4249cf86f6478e4e87b575063c88974bb600d31.tar.bz2
Tests: Add COMPATIBLE_INTERFACE_NUMBER_{MAX,MIN} transitive-only cases
Diffstat (limited to 'Tests/CompatibleInterface/main.cpp')
-rw-r--r--Tests/CompatibleInterface/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Tests/CompatibleInterface/main.cpp b/Tests/CompatibleInterface/main.cpp
index 0bccb82..b540888 100644
--- a/Tests/CompatibleInterface/main.cpp
+++ b/Tests/CompatibleInterface/main.cpp
@@ -35,10 +35,12 @@ enum
{
NumericMaxTest1 = sizeof(CMakeStaticAssert<NUMBER_MAX_PROP1 == 100>),
NumericMaxTest2 = sizeof(CMakeStaticAssert<NUMBER_MAX_PROP2 == 250>),
+ NumericMaxTest3 = sizeof(CMakeStaticAssert<NUMBER_MAX_PROP3 == 3>),
NumericMinTest1 = sizeof(CMakeStaticAssert<NUMBER_MIN_PROP1 == 50>),
NumericMinTest2 = sizeof(CMakeStaticAssert<NUMBER_MIN_PROP2 == 200>),
NumericMinTest3 = sizeof(CMakeStaticAssert<NUMBER_MIN_PROP3 == 0xA>),
- NumericMinTest4 = sizeof(CMakeStaticAssert<NUMBER_MIN_PROP4 == 0x10>)
+ NumericMinTest4 = sizeof(CMakeStaticAssert<NUMBER_MIN_PROP4 == 0x10>),
+ NumericMinTest5 = sizeof(CMakeStaticAssert<NUMBER_MIN_PROP5 == 5>)
};
#include "iface2.h"