Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
;
}