Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Marco Ratto
dynare
Commits
78462b1b
Commit
78462b1b
authored
Nov 03, 2020
by
Sébastien Villemot
Browse files
Merge branch 'ifndef' into 'master'
Test for ifndef See merge request
Dynare/dynare!1763
parents
463516c8
d38a4428
Changes
3
Hide whitespace changes
Inline
Side-by-side
tests/Makefile.am
View file @
78462b1b
...
...
@@ -75,12 +75,13 @@ MODFILES = \
example1_with_tags.mod
\
example1_irf_shocks.mod
\
example1_abs_sign.mod
\
example1_macro.mod
\
example1_mlv.mod
\
example1long.mod
\
example2long.mod
\
example2long_use_dll.mod
\
t_sgu_ex1.mod
\
macro_processor/test_ifndef.mod
\
macro_processor/example1_macro.mod
\
irfs/example1_unit_std.mod
\
optimal_policy/OSR/osr_example.mod
\
optimal_policy/OSR/osr_example_objective_correctness.mod
\
...
...
tests/example1_macro.mod
→
tests/
macro_processor/
example1_macro.mod
View file @
78462b1b
File moved
tests/macro_processor/test_ifndef.mod
0 → 100644
View file @
78462b1b
// test ifndef to prevent regressions like #1747
@#define marco=1
@#ifndef marco
def=0;
@#else
def=1;
@#endif
if ~def
error('ifndef not reached')
end
var x;
model;
x;
end;
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment