From d05f2007267741d41091d3dd1ecd7c333808a037 Mon Sep 17 00:00:00 2001 From: Sergey Bogolepov Date: Tue, 28 Jul 2020 15:07:42 +0700 Subject: [PATCH] [Interop][Tests] Setter for global of const type --- backend.native/tests/interop/basics/unable_to_import.def | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend.native/tests/interop/basics/unable_to_import.def b/backend.native/tests/interop/basics/unable_to_import.def index 4a387880d07..a877fb6c03c 100644 --- a/backend.native/tests/interop/basics/unable_to_import.def +++ b/backend.native/tests/interop/basics/unable_to_import.def @@ -4,3 +4,7 @@ int global; void foo(void); #define foo < + +// Setter for x should not be generated. +typedef const int cint; +cint x;