Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ptrsub2.C
blob: fd644ad7854993ec300e89da8bde5a7d801399f3 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
char
c
;
constexpr
char
p2
=
*(&
c
-
1
);
// { dg-error "-1" }