2 // RUN: split-file %s %t
5 // RUN: %clang_cc1 -std=c++20 -emit-module-interface %t/A.cppm -o %t/A.pcm
6 // RUN: %clang_cc1 -std=c++20 -fprebuilt-module-path=%t %t/Use.cpp -fsyntax-only -verify
9 template<typename T, typename U>
10 inline constexpr bool IsSame = false;
13 inline constexpr bool IsSame<T, T> = true;
19 ~A() noexcept(IsSame<T, T>);
30 void bool_consume(bool b);
33 bool_consume(IsSame); // expected-error {{use of undeclared identifier 'IsSame'}}