Explorar o código

* macro should give warning

peter %!s(int64=25) %!d(string=hai) anos
pai
achega
de241db0da
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  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.