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
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash37.C
blob
d5167c8d2dc26ba878d24f729a3b2ee6353ba753
1
// PR c++/21352
2
3
struct coperator_stack
4
{
5
template<class type>
6
void push3()
7
{
8
}
9
};
10
11
struct helper {};
12
13
template<class F>
14
void bla(F f)
15
{
16
}
17
18
template <typename ScannerT>
19
struct definition
20
{
21
definition()
22
{
23
bla(coperator_stack::push3<helper>); // { dg-error "pointer to member" }
24
}
25
};
26