diff --git a/backend.native/tests/build.gradle b/backend.native/tests/build.gradle index 4d247de9f79..462cb8e32b4 100644 --- a/backend.native/tests/build.gradle +++ b/backend.native/tests/build.gradle @@ -4428,6 +4428,11 @@ task metadata_compare_typedefs(type: MetadataComparisonTest) { defFile = "interop/basics/typedefs.def" } +task metadata_compare_unable_to_import(type: MetadataComparisonTest) { + enabled = (project.testTarget != 'wasm32') + defFile = "interop/basics/unable_to_import.def" +} + standaloneTest("local_ea_arraysfieldwrite") { disabled = (cacheTesting != null) // Cache is not compatible with -opt. goldValue = "Array (constructor init):\nSize: 2\nContents: [1, 2]\n" + diff --git a/backend.native/tests/interop/basics/unable_to_import.def b/backend.native/tests/interop/basics/unable_to_import.def new file mode 100644 index 00000000000..4a387880d07 --- /dev/null +++ b/backend.native/tests/interop/basics/unable_to_import.def @@ -0,0 +1,6 @@ +--- +int global; +#define global bad macro + +void foo(void); +#define foo <