☰
Debian Codegraph
@
7.2-3
7.2-2
7.2-1
7.1-1
/
/
tests
/
macro_processor
/
test_ifndef.mod
☽
☼
tests/macro_processor/test_ifndef.mod
code
plain
raw
GPL-3+
1996-2026 Dynare Team
debian/copyright
1
// test ifndef to prevent regressions like #1747
2
@#define marco=1
3
@#ifndef marco
4
def=0;
5
@#else
6
def=1;
7
@#endif
8
9
if ~def
10
error('ifndef not reached')
11
end
12
13
var x;
14
15
model;
16
x;
17
end;