|
|
| Bugzilla Link |
28139 |
| Version |
3.8 |
| OS |
Windows NT |
| Reporter |
LLVM Bugzilla Contributor |
Extended Description
code:
template<int const * pci> struct X {};
extern int const ai[];
X<ai> xi;
int const ai[] = {0,1,2,3};
Then compiled with clang++ -std=c++1z test.cpp
Error test.cpp:4:3: error: non-type template argument refers to subobject '&ai' is reported.