summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjCXX/class-templ-error-null-init.mm
blob: b621a3ab24dea146be7dbbd60d07ca2d551f023e (plain)
1
2
3
4
5
6
7
// 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);
OpenPOWER on IntegriCloud