diff --git a/test/compiler/efNoInit.st b/test/compiler/efNoInit.st new file mode 100644 index 0000000000000000000000000000000000000000..4ab8451eff34f4d54eb84fab7920f1eb66968ac0 --- /dev/null +++ b/test/compiler/efNoInit.st @@ -0,0 +1,11 @@ +/*************************************************************************\ +Copyright (c) 2010-2012 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ +program efNoInitTest + +evflag ef = 1; + +#include "../simple.st" diff --git a/test/compiler/foreignNoInit.st b/test/compiler/foreignNoInit.st new file mode 100644 index 0000000000000000000000000000000000000000..676a113922ebdd26f5297a7c07d45d2f3053cd30 --- /dev/null +++ b/test/compiler/foreignNoInit.st @@ -0,0 +1,11 @@ +/*************************************************************************\ +Copyright (c) 2010-2012 Helmholtz-Zentrum Berlin f. Materialien + und Energie GmbH, Germany (HZB) +This file is distributed subject to a Software License Agreement found +in the file LICENSE that is included with this distribution. +\*************************************************************************/ +program foreignNoInitTest + +foreign bla = 1; + +#include "../simple.st" diff --git a/test/compiler/snc_test.plt b/test/compiler/snc_test.plt index c9b07567a1ea4dc381e477083c476ae6b0ef9786..21026c0ad540954feaf9a0dd55e86f9ec2f936f7 100644 --- a/test/compiler/snc_test.plt +++ b/test/compiler/snc_test.plt @@ -24,8 +24,10 @@ my $warning = { my $error = { efArray => 1, efGlobal => 3, + efNoInit => 1, efPointer => 1, foreignGlobal => 3, + foreignNoInit => 1, misplacedExit => 2, pvNotAssigned => 20, sync_not_assigned => 1,