// RUN: rm -rf %t.mcp
// RUN: mkdir -p %t
// RUN: %clang_cc1 -triple x86_64-apple-darwin -fcxx-exceptions -verify -std=c++2a -fmodules -fmodules-cache-path=%t.mcp -I%S/Inputs %s -fno-modules-error-recovery -fmodule-map-file=%S/Inputs/compare.modulemap
;
void // expected-error {{include <compare>}}
;
auto va = <=> ; // expected-note {{required here}}
// expected-note@std-compare.h:* 2+{{not reachable}}
void // expected-error 1+{{definition of 'strong_ordering' must be imported from module 'compare.cmp' before it is required}}
;
auto vb = <=> ; // expected-note {{required here}}
void
;
auto vc = <=> ;
module compare2
void