Searched refs:mutable (Results 1 - 25 of 78) sorted by relevance

1234

/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.brendan/
H A Derr-msg11.C3 void foo (mutable int x);// { dg-error "" } non-member `x' cannot be declared `mutable'.*
H A Derr-msg12.C5 friend mutable int x ();// { dg-error "" } non-object member `x' cannot be declared `mutable'
H A Dmutable1.C2 // GROUPS passed mutable
5 mutable foo const *foobar;
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.mike/
H A Dp7635.C5 mutable const int * p;
6 mutable int * const q; // { dg-error "" }
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.other/
H A Ddecl6.C14 mutable friend int j1 (); // { dg-error "" } non-member cannot be mutable
15 mutable typedef int d; // { dg-error "" } non-object cannot be mutable
16 mutable int fn (); // { dg-error "" } non-object cannot be mutable
17 void fn (mutable int); // { dg-error "" } non-member cannot be mutable
18 mutable static int s; // { dg-error "" } static cannot be mutable
[all...]
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/other/
H A Dpr33558-2.C5 mutable int &q; /* { dg-warning "cannot be declared 'mutable'" } */
H A Dpr33558.C4 mutable int &q; /* { dg-error "cannot be declared 'mutable'" } */
H A Danon-union3.C21 mutable union // { dg-error "storage class" }
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/parse/
H A Dcrash4.C10 mutable Bar::type x; // { dg-error "" }
H A Dlinkage1.C7 extern "C" mutable int e; // { dg-error "linkage" }
H A Dmutable1.C5 mutable int m1,m2;
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/lambda/
H A Dlambda-non-const.C10 call([] () mutable -> void {});
13 call([i] () mutable -> void { i = 0; });
H A Dlambda-mixed.C6 [&i, j] () mutable -> void { i = 0; j = 0; } ();
H A Dlambda-anon1.C12 [=]() mutable {
H A Dlambda-mutable.C8 [i, s2] () mutable -> void { i = 2; s2 = "world"; } ();
H A Dlambda-nested.C44 [=] () mutable -> void {
51 [=] () mutable -> void {
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.jason/
H A Dmutable1.C5 mutable int x;
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/template/
H A Derror54.C6 mutable T x; // { dg-error "cannot be declared" }
H A Derror44.C7 template <mutable int T> struct E {}; // { dg-error "storage class specified" }
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/
H A Dconstexpr-mutable2.C5 mutable int n;
10 constexpr S s2 = s; // { dg-error "mutable" }
H A Dconstexpr-mutable1.C6 mutable int j;
10 constexpr A b = a; // { dg-error "mutable" }
12 constexpr int j = a.j; // { dg-error "mutable" }
H A Dimplicit-trivial1.C16 mutable A a;
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/init/
H A Dmutable1.C9 mutable int y;
15 mutable int y;
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/inherit/
H A Dimplicit-trivial1.C16 mutable A a;
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/tc1/
H A Ddr185.C8 mutable int value;

Completed in 116 milliseconds

1234