[Tests][Interop] Add test for unsupported declarations

This commit is contained in:
Sergey Bogolepov
2020-06-17 18:22:04 +07:00
committed by Sergey Bogolepov
parent a7e3c5ca2a
commit e93c623c40
2 changed files with 11 additions and 0 deletions
+5
View File
@@ -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" +
@@ -0,0 +1,6 @@
---
int global;
#define global bad macro
void foo(void);
#define foo <