Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/template/array28.C @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
typedef int (A)[]; template<class T> void f(T (*)[1]); // { dg-error "array" } int main() { f<int[]>(0); // { dg-error "no match" } }