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
/
opt
/
pr50747-1_0.C
blob
4a5546c638e22e25fac175d8c4e74d4e75c0e87a
1
// { dg-do compile }
2
// { dg-require-effective-target lto }
3
// { dg-options "-flto" }
4
5
void foo();
6
7
static void bar() __attribute__((weakref("foo")));
8
9
struct A
10
{
11
A();
12
};
13
14
int i;
15
16
template <typename T, int&> struct B : T {};
17
18
B<A, i> b;