Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
b42cc22ad4b3cc4c4cd697052b8f1dd85df96d0a
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-56302.C
blob: c0adae4665ae0472983031a61289ad1889b78903 [
file
] [
log
] [
blame
]
// PR c++/56302
// { dg-do compile }
// { dg-options "-std=c++11 -O0" }
constexpr
int
foo
()
{
return
42
;
}
constexpr
int
x
=
foo
()
+
2
;
void
bar
()
{
__asm
(
""
:
:
"n"
(
x
),
"n"
(
foo
()
*
7
+
x
));
}