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
libcpp/
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
auto-fn1.C
blob
0df09ab7ab174cd3a0e95149431c0c7a61f128b6
1
// { dg-do compile { target c++14 } }
2
3
constexpr auto f() { return (char)42; }
4
#define SA(X) static_assert ((X),#X)
5
SA (f() == 42);