// RUN: %clang_cc1 --std=c++20 %s -emit-llvm -o - -triple x86_64-linux | FileCheck %s
// namespace std
;
// Make sure these cause emission
std::strong_ordering Space::operator<=> const = default;
// CHECK-LABEL: define{{.*}} @_ZNK5SpacessERKS_
bool ;
// CHECK-LABEL: define{{.*}} @_ZNK5SpaceeqERKS_
;
// Make sure these do not cause emission
inline std::strong_ordering Water::operator<=> const = default;
// CHECK-NOT: define{{.*}} @_ZNK5WaterssERKS_
inline bool ;
// CHECK-NOT: define{{.*}} @_ZNK5WatereqERKS_