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 middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
constexpr-lambda13.C
blob
35baff35dedaeaea17a0c8e49f5aa225821b17a6
1
// { dg-options -std=c++17 }
2
3
auto l1 = []() constexpr constexpr { }; // { dg-error "duplicate" }
4
auto l2 = []() mutable mutable { }; // { dg-error "duplicate" }
5
auto l3 = []() static { }; // { dg-error "static" }