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
c++: P0847R7 (deducing this) - xobj lambdas. [PR102609]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
constexpr-dtor1.C
blob
a2ea6bfb33849abedfae2abee10eb0ffebf27dda
1
// P0784R7
2
// { dg-do compile { target c++11 } }
3
4
struct S
5
{
6
constexpr S () : s (0) {}
7
constexpr ~S () {} // { dg-error "'constexpr' destructors only available with" "" { target c++17_down } }
8
int s;
9
};