1 // RUN: %clang_cc1 -pedantic-errors -std=c++2a -emit-pch %s -o %t
2 // RUN: %clang_cc1 -pedantic-errors -std=c++2a -include-pch %t -verify %s
3 // RUN: %clang_cc1 -pedantic-errors -std=c++2a -include-pch %t -emit-llvm %s -o -
9 #include "Inputs/std-compare.h"
10 constexpr auto foo() {
14 inline auto bar(int x) {
20 // expected-no-diagnostics
22 static_assert(foo() < 0);