summaryrefslogtreecommitdiffstats
path: root/Tests/ComplexOneConfig/Executable/A.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/ComplexOneConfig/Executable/A.cxx')
-rw-r--r--Tests/ComplexOneConfig/Executable/A.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/Tests/ComplexOneConfig/Executable/A.cxx b/Tests/ComplexOneConfig/Executable/A.cxx
index 7f98319..0cc995a 100644
--- a/Tests/ComplexOneConfig/Executable/A.cxx
+++ b/Tests/ComplexOneConfig/Executable/A.cxx
@@ -1,4 +1,7 @@
+// Include code from a header that should not be compiled separately.
+#include "A.hh"
+
int main()
{
- return 10;
+ return A();
}