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
x86: Tune Skylake, Cannonlake and Icelake as Haswell
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
pointer1.C
blob
0b1e3ae072e52be3bca79fee0c16ff00a53ba975
1
// { dg-do assemble }
2
3
template <class T>
4
struct S1
5
{
6
};
7
8
template <class T>
9
struct S2
10
{
11
typedef T* pointer_t;
12
};
13
14
int f(S2<S1<int> >::pointer_t p1, S2<S1<int> >::pointer_t p2)
15
{
16
return (int) (p1 - p2);
17
}