summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp1y/sized-dealloc2.C
blob: a3ab64c26ae8aebfb7e436e1375f311bf0e4880f (plain)
1
2
3
4
5
// Test that -Wc++14-compat warns about the change in meaning.
// { dg-options "-Wall" }

typedef __SIZE_TYPE__ size_t;
void operator delete[] (void *p, size_t s) throw(); // { dg-warning "usual" "" { target { ! c++14 } } }