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++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
pr49377.C
blob
cb4287ad1ac0d82ab968cf4f45e185fedbc5e0ee
1
// PR c++/49377
2
3
template <typename T, int N> class v;
4
5
template <typename T> class v<T,2> {
6
v() { };
7
} __attribute__((__may_alias__));
8
9
typedef v<float,2> float2;
10
11
class a {
12
void f(float2 &point);
13
float2 d;
14
};
15
16
void a::f(float2 &point) { }