repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove outermost loop parameter.
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash51.C
blob
8c2553d1034d0cd9b65ebcf3fbc0ad05895e3e9d
1
// PR c++/26496
2
3
template< typename _Generator> int generate_n(_Generator __gen);
4
struct Distribution { };
5
typedef double (Distribution::* Pstd_mem)();
6
int main(void)
7
{
8
Distribution* rng;
9
Pstd_mem ptr;
10
generate_n(rng->*ptr); // { dg-error "non-static member" }
11
}