diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/multiple_inclusion_1.cxx | 6 | ||||
-rw-r--r-- | test/multiple_inclusion_2.cxx | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/test/multiple_inclusion_1.cxx b/test/multiple_inclusion_1.cxx new file mode 100644 index 0000000..b831d0a --- /dev/null +++ b/test/multiple_inclusion_1.cxx @@ -0,0 +1,6 @@ +#include <args.hxx> + +int foo() { return 42; } +int bar(); + +int main() { return foo() - bar(); } diff --git a/test/multiple_inclusion_2.cxx b/test/multiple_inclusion_2.cxx new file mode 100644 index 0000000..cdcb020 --- /dev/null +++ b/test/multiple_inclusion_2.cxx @@ -0,0 +1,3 @@ +#include <args.hxx> + +int bar() { return 42; } |