Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/factory-ryu-6486.B
/
.
/
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
;
}