diff --git a/source/compiler/tests/gh_398.inc b/source/compiler/tests/gh_398.inc new file mode 100644 index 0000000..c5d510b --- /dev/null +++ b/source/compiler/tests/gh_398.inc @@ -0,0 +1,4 @@ +/* 3 empty lines */ + + +new a, b;// <= line 4 diff --git a/source/compiler/tests/gh_398.meta b/source/compiler/tests/gh_398.meta new file mode 100644 index 0000000..ec5dcf3 --- /dev/null +++ b/source/compiler/tests/gh_398.meta @@ -0,0 +1,7 @@ +{ + 'test_type': 'output_check', + 'errors': """ +gh_398.pwn(4) : warning 203: symbol is never used: "a" +gh_398.pwn(4) : warning 203: symbol is never used: "b" + """ +} diff --git a/source/compiler/tests/gh_398.pwn b/source/compiler/tests/gh_398.pwn new file mode 100644 index 0000000..5d6d584 --- /dev/null +++ b/source/compiler/tests/gh_398.pwn @@ -0,0 +1,2 @@ +#include "gh_398.inc" +main(){}