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
PR c++/85553
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr65072.C
blob
b8fa8885dcff77f19f5307f4cc71e644c313e3ec
1
// PR c++/65075
2
// { dg-do compile { target c++11 } }
3
// { dg-options "-Wno-pedantic" }
4
5
template <typename> class C
6
{
7
struct
8
{
9
int i;
10
};
11
auto operator*(const C m) -> decltype (m.i);
12
};
13
void fn1 (const C<float>);
14
C<float> a;