Jelajahi Sumber

[tests] add test for #8689 (#11971)

Rudy Ges 8 bulan lalu
induk
melakukan
0ccc71abec

+ 1 - 0
tests/misc/projects/Issue8689/compile-fail.hxml

@@ -0,0 +1 @@
+--macro 'define("js")'

+ 1 - 0
tests/misc/projects/Issue8689/compile-fail.hxml.stderr

@@ -0,0 +1 @@
+Error: `js` is a reserved compiler flag and cannot be defined from the command line

+ 1 - 0
tests/misc/projects/Issue8689/compile1-fail.hxml

@@ -0,0 +1 @@
+-D js=wat

+ 1 - 0
tests/misc/projects/Issue8689/compile1-fail.hxml.stderr

@@ -0,0 +1 @@
+Error: `js` is a reserved compiler flag and cannot be defined from the command line.