summaryrefslogtreecommitdiff
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.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/ComplexOneConfig/Executable/A.cxx b/Tests/ComplexOneConfig/Executable/A.cxx
new file mode 100644
index 0000000..0cc995a
--- /dev/null
+++ b/Tests/ComplexOneConfig/Executable/A.cxx
@@ -0,0 +1,7 @@
+// Include code from a header that should not be compiled separately.
+#include "A.hh"
+
+int main()
+{
+ return A();
+}