// Tests referencing variable with initializer containing side effect across module boundary // RUN: %clang_cc1 -std=c++20 -emit-module-interface %s -o %t export module Foo; export template struct Wrapper { double value; }; export constexpr Wrapper Compute() { return Wrapper{1.0}; } export template Wrapper ComputeInFloat() { const Wrapper a = Compute(); return a; }