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-ref10.C
blob
925ac4eb2e44953556db1f9ffe27c6dd3575c498
1
// { dg-do compile { target c++11 } }
2
3
int &&r = 42;
4
static_assert (r, ""); // { dg-error "temporary" }
5
// { dg-prune-output "assert" }