// RUN: %clang_cc1 -fmodules -fmodules-local-submodule-visibility -fno-modules-error-recovery -fno-spell-checking -verify -std=c++17 %s
module a
constexpr bool
;
module b
using T = decltype;
// Trigger import of return_true and then X::f in the same pass. This causes
// the type of X::f to be loaded while we have a pending body for return_true,
// which means evaluation of its exception specification at that point would
// fail.
T t;
static_assert;
// expected-no-diagnostics