summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/error31.C
blob: 4fd70262389a6b160953f4f25f0eba2f006f9021 (plain)
1
2
3
// PR c++/33493

template<int> void foo() { delete 0 ? 1 : 0; } // { dg-error "delete 0" }