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
/
cpp0x
/
constexpr-incomplete3.C
blob
c0516f089e77b90a3120c4ef96c54f0cc884880f
1
// PR c++/49015
2
// { dg-do compile { target c++11 } }
3
4
class A;
5
6
class B {
7
friend constexpr B f(A); // Line 5
8
};
9
10
class A {};
11
12
constexpr B f(A) { return B(); } // Line 10