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-noexcept6.C
blob
76d9246d6f169de8d1f3bb23e639ce9928f38210
1
// PR c++/51305
2
// { dg-do compile { target c++11 } }
3
4
constexpr bool ok() noexcept
5
{
6
typedef int type;
7
return true;
8
}
9
10
constexpr auto x = ok();