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
/cp
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist101.C
blob
a0f355220d8a5615377bc03ba80c44cda33adf1f
1
// PR c++/80956
2
// { dg-do compile { target c++11 } }
3
4
#include <initializer_list>
5
6
template <typename T> struct B { B (std::initializer_list<T>); };
7
struct C { virtual int foo (); };
8
struct D : C {} d { B<C> { D {} } }; // { dg-error "no matching" }