// RUN: %clang_cc1 -no-opaque-pointers -std=c++2a -emit-llvm %s -o - -triple %itanium_abi_triple | \
// RUN: FileCheck %s \
// RUN: '-DSO="class.std::__1::strong_ordering"' \
// RUN: '-DPO="class.std::__1::partial_ordering"' \
// RUN: -DEQ=0 -DLT=-1 -DGT=1 -DUNORD=-127 -DNE=1
// Ensure we don't emit definitions for the global variables
// since the builtins shouldn't ODR use them.
// CHECK-NOT: constant %[[SO]]
// CHECK-NOT: constant %[[PO]]
// CHECK-LABEL: @_Z11test_signedii
auto
// CHECK-LABEL: @_Z13test_unsignedjj
auto
// CHECK-LABEL: @_Z10float_testdd
auto
// CHECK-LABEL: @_Z8ptr_testPiS_
auto
// CHECK-LABEL: @_Z13test_constantv
auto
// CHECK-LABEL: @_Z18unscoped_enum_testijxy
void