Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
udlit-extern-c.C
blob: 7a38e12dcd09e18f4322ad0f0f57b36d4b7f33b0 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
extern
"C"
{
// { dg-message "1: 'extern .C.' linkage started here" }
constexpr
double
operator
""
_deg
(
double
degrees
);
// { dg-error "18:literal operator with C linkage" }
}