// RUN: %target-swift-ide-test -print-module -module-to-print=ConstexprStaticMemberVarErrors -I %S/Inputs -source-filename=x -enable-experimental-cxx-interop 2>&1 | %FileCheck %s // Check that we properly report the error and don't crash when importing an // invalid decl. // CHECK: error: type 'int' cannot be used prior to '::' because it has no members // CHECK: {{note: in instantiation of template class 'GetTypeValue' requested here|note: in instantiation of static data member 'GetTypeValue::value' requested here}} // CHECK: error: type 'int' cannot be used prior to '::' because it has no members // CHECK: note: in instantiation of static data member 'GetTypeValueInline::value' requested here