repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merged revisions 208012,208018-208019,208021,208023-208030,208033,208037,208040-20804...
[official-gcc.git]
/
main
/
gcc
/
testsuite
/
g++.dg
/
ext
/
vla8.C
blob
9e2d6bdad436b284bcc34d0d8c6add56ba894f92
1
// PR c++/42387
2
// { dg-options "" }
3
4
template<class PF>
5
struct AvlTreeIter
6
{
7
int Num();
8
9
AvlTreeIter()
10
{
11
new (void* [Num()]); // { dg-warning "parentheses" }
12
}
13
};
14
15
AvlTreeIter<int> a; // { dg-message "from here" }