summaryrefslogtreecommitdiff
path: root/Tests/ComplexOneConfig/Executable/complex.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/ComplexOneConfig/Executable/complex.cxx')
-rw-r--r--Tests/ComplexOneConfig/Executable/complex.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/ComplexOneConfig/Executable/complex.cxx b/Tests/ComplexOneConfig/Executable/complex.cxx
index 95e77b6403..0ecd8fe2ee 100644
--- a/Tests/ComplexOneConfig/Executable/complex.cxx
+++ b/Tests/ComplexOneConfig/Executable/complex.cxx
@@ -369,6 +369,12 @@ int main()
cmFailed("ELSEIF did not work");
#endif
+#ifdef CONDITIONAL_PARENTHESES
+ cmPassed("CONDITIONAL_PARENTHESES did work");
+#else
+ cmFailed("CONDITIONAL_PARENTHESES did not work");
+#endif
+
if(file2() != 1)
{
cmFailed("Call to file2 function from library failed.");