diff options
Diffstat (limited to 'test-files/mds-kbdc/compile-layout')
7 files changed, 50 insertions, 0 deletions
diff --git a/test-files/mds-kbdc/compile-layout/invalid/_include_function-redefine b/test-files/mds-kbdc/compile-layout/invalid/_include_function-redefine new file mode 100644 index 0000000..8147196 --- /dev/null +++ b/test-files/mds-kbdc/compile-layout/invalid/_include_function-redefine @@ -0,0 +1,3 @@ +function f/0 +end function + diff --git a/test-files/mds-kbdc/compile-layout/invalid/_include_macro-redefine b/test-files/mds-kbdc/compile-layout/invalid/_include_macro-redefine new file mode 100644 index 0000000..c0204b4 --- /dev/null +++ b/test-files/mds-kbdc/compile-layout/invalid/_include_macro-redefine @@ -0,0 +1,3 @@ +macro m/0 +end macro + diff --git a/test-files/mds-kbdc/compile-layout/invalid/_nested_calls_with_inclusion-error b/test-files/mds-kbdc/compile-layout/invalid/_nested_calls_with_inclusion-error new file mode 100644 index 0000000..f9f3f00 --- /dev/null +++ b/test-files/mds-kbdc/compile-layout/invalid/_nested_calls_with_inclusion-error @@ -0,0 +1,10 @@ +function f/0 + let \0 : 0 +end function +function g/0 + "\f()" +end function +function h/0 + "\g()" +end function + diff --git a/test-files/mds-kbdc/compile-layout/invalid/include_function-redefine b/test-files/mds-kbdc/compile-layout/invalid/include_function-redefine new file mode 100644 index 0000000..ce73458 --- /dev/null +++ b/test-files/mds-kbdc/compile-layout/invalid/include_function-redefine @@ -0,0 +1,4 @@ +include "_include_function-redefine" +function f/0 +end function + diff --git a/test-files/mds-kbdc/compile-layout/invalid/include_macro-redefine b/test-files/mds-kbdc/compile-layout/invalid/include_macro-redefine new file mode 100644 index 0000000..d6ba11f --- /dev/null +++ b/test-files/mds-kbdc/compile-layout/invalid/include_macro-redefine @@ -0,0 +1,4 @@ +include "_include_macro-redefine" +macro m/0 +end macro + diff --git a/test-files/mds-kbdc/compile-layout/invalid/nested_calls-error b/test-files/mds-kbdc/compile-layout/invalid/nested_calls-error new file mode 100644 index 0000000..1e0cd0d --- /dev/null +++ b/test-files/mds-kbdc/compile-layout/invalid/nested_calls-error @@ -0,0 +1,17 @@ +function f/0 + let \0 : 0 +end function +function g/0 + "\f()" +end function +function h/0 + "\g()" +end function +macro m/0 + "\h()" +end macro +macro n/0 + m() +end macro +n() + diff --git a/test-files/mds-kbdc/compile-layout/invalid/nested_calls_with_inclusion-error b/test-files/mds-kbdc/compile-layout/invalid/nested_calls_with_inclusion-error new file mode 100644 index 0000000..fd48b54 --- /dev/null +++ b/test-files/mds-kbdc/compile-layout/invalid/nested_calls_with_inclusion-error @@ -0,0 +1,9 @@ +include "_nested_calls_with_inclusion-error" +macro m/0 + "\h()" +end macro +macro n/0 + m() +end macro +n() + |