Skip to content

Commit

Permalink
[tests] add test for #8689 (#11971)
Browse files Browse the repository at this point in the history
  • Loading branch information
kLabz authored Feb 5, 2025
1 parent 22d2cb1 commit 0ccc71a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/misc/projects/Issue8689/compile-fail.hxml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--macro 'define("js")'
1 change: 1 addition & 0 deletions tests/misc/projects/Issue8689/compile-fail.hxml.stderr
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Error: `js` is a reserved compiler flag and cannot be defined from the command line
1 change: 1 addition & 0 deletions tests/misc/projects/Issue8689/compile1-fail.hxml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-D js=wat
1 change: 1 addition & 0 deletions tests/misc/projects/Issue8689/compile1-fail.hxml.stderr
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Error: `js` is a reserved compiler flag and cannot be defined from the command line.

0 comments on commit 0ccc71a

Please sign in to comment.