Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-noexcept7.C
blob: 2a70d7bb5298ce6303218cd132bfa517279f4e78 [
file
] [
log
] [
blame
]
// PR c++/53473
// { dg-do compile { target c++11 } }
template
<
typename
T
>
struct
A
{
static
constexpr
T foo
()
noexcept
{
return
0
;
}
};
template
<>
constexpr
int
A
<int>
::
foo
()
noexcept
{
return
0
;
}