aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/parser+module.test.testscript
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/cc/parser+module.test.testscript')
-rw-r--r--libbuild2/cc/parser+module.test.testscript8
1 files changed, 4 insertions, 4 deletions
diff --git a/libbuild2/cc/parser+module.test.testscript b/libbuild2/cc/parser+module.test.testscript
index e935180..d305125 100644
--- a/libbuild2/cc/parser+module.test.testscript
+++ b/libbuild2/cc/parser+module.test.testscript
@@ -80,7 +80,7 @@ EOO
: brace-missing
:
-$* <<EOI 2>>EOE != 0
+$* <<EOI 2>>EOE
export
{
class foo
@@ -89,12 +89,12 @@ export
module foo;
}
EOI
-<stdin>:8:1: error: {}-imbalance detected
+<stdin>:8:1: warning: missing '}'
EOE
: brace-stray
:
-$* <<EOI 2>>EOE != 0
+$* <<EOI 2>>EOE
export
{
class foo
@@ -103,7 +103,7 @@ export
}
module foo;
EOI
-<stdin>:6:1: error: {}-imbalance detected
+<stdin>:6:1: warning: extraneous '}'
EOE
: import-missing-name