Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
conversion
/
op7.C
blob: c6401d109b464fd290376b5a5527b1fef5134b6c [
file
] [
log
] [
blame
]
// PR c++/94190 - wrong no post-decrement operator error in template.
struct
S
{
operator
long
&
();
}
b
;
template
<int>
void
foo
()
{
b
--;
++
b
;
--
b
;
b
++;
!
b
;
~
b
;
+
b
;
-
b
;
}
void
bar
()
{
foo
<
0
>
();
}