[X86] Move getGFNICtrlMask before CTLZ/CTTZ lowering. NFC.
[llvm-project.git] / clang / test / SemaCXX / new-delete-array.cpp
blobfca1ec132accab35e3daaa8c3eb09ba0f482c093
1 // RUN: %clang_cc1 -fsyntax-only -std=c++17 %s -verify=cxx17
2 // RUN: %clang_cc1 -fsyntax-only -std=c++14 %s -verify=cxx14
4 namespace PR51547 {
5 template<class> struct A; // cxx14-note {{template is declared here}}
6 auto p = new A[]{}; // cxx14-error {{use of class template 'A' requires template arguments}} \
7 cxx17-error {{cannot form array of deduced class template specialization type}}