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
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
non-dependent7.C
blob
ee34327ad63b171b2f7ea0a36229956ffadf9ca9
1
// { dg-do compile }
2
3
// Origin: Giovanni Bajo <giovannibajo@libero.it>
4
5
// PR c++/13092: ICE taking address of member which is non-dependent
6
7
struct S
8
{
9
int i;
10
};
11
12
template<int S::*p>
13
struct X
14
{};
15
16
template <class T>
17
struct Foo
18
{
19
X<&S::i> x;
20
};
21
22
template struct Foo<void>;