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++/85765 - SFINAE and non-type default template arg.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
auto40.C
blob
287191e591047c429859f7399a1657415a0eb47d
1
// PR c++/58888
2
// { dg-do compile { target c++11 } }
3
4
#include <initializer_list>
5
6
struct A
7
{
8
static constexpr auto b{1.0};
9
};
10
11
constexpr decltype(A::b) A::b;