Browse Source

* macro should give warning

peter 25 years ago
parent
commit
de241db0da
1 changed files with 10 additions and 0 deletions
  1. 10 0
      tests/tbf/tbf0351.pp

+ 10 - 0
tests/tbf/tbf0351.pp

@@ -0,0 +1,10 @@
+{ $OPT=-Sew }
+
+{$MACRO OFF}
+
+{ The next line should give a Warning that macro support not has
+  been turned on }
+{$define mac1 := writeln('test')}
+
+begin
+end.