bolt/deps/llvm-18.1.8/clang/test/SemaObjCXX/class-templ-error-null-init.mm
2025-02-14 19:21:04 +01:00

7 lines
155 B
Text

// RUN: %clang_cc1 -fsyntax-only -std=c++17 -verify %s
// expected-no-diagnostics
template <typename a, int* = nullptr>
struct e {
e(a) {}
};
e c(0);