aboutsummaryrefslogtreecommitdiff
path: root/tests/cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cc')
-rw-r--r--tests/cc/modules/headers.testscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cc/modules/headers.testscript b/tests/cc/modules/headers.testscript
index 43a200e..c6f16b7 100644
--- a/tests/cc/modules/headers.testscript
+++ b/tests/cc/modules/headers.testscript
@@ -24,7 +24,7 @@ cat <<EOI >=driver.cxx;
#ifndef CORE_OUT
# error macro export
#endif
- int main () {return f () - 1 /* CORE_OUT */;}
+ int main () {return f () - CORE_OUT;}
EOI
$* test clean config.cxx.header_units="$~/core.hxx" &$~/../build/cc/*** <<EOI
exe{test}: cxx{driver}