blob: 6dca7e5a0abfa883198cb6195e6d32e049c9adce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// { dg-do link }
// GROUPS passed templates membertemplates
extern "C" int printf(const char*, ...);
struct S
{
template <class U>
void g(U u)
{ i = 3; }
int i;
};
int main()
{
S s;
s.g(3);
}
|