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
Rebase.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.oliva
/
partspec1.C
blob
8879247815f25b536639c77bb094c654aef6e8b4
1
// { dg-do assemble }
2
3
// Copyright (C) 1999 Free Software Foundation
4
5
// by Alexandre Oliva <oliva@dcc.unicamp.br>
6
// simplified from bug report by Andrey Slepuhin <pooh@msu.ru>
7
8
template <typename A, int* P> struct X;
9
10
int a;
11
12
template <typename A>
13
struct X<A,&a> {};
14
15
int b;
16
17
template <typename A>
18
struct X<A,&b> {};
19
20
X<int,&a> x;