[AArch64] Fix SVE testsuite failures for ILP32 (PR 83846)
[official-gcc.git] / gcc / testsuite / g++.dg / other / accessor-fixits-3.C
blob27d2eb4d0481db670c0716fe5c39d85935c56db7
1 class foo
3 public:
4   static foo& get_singleton () { return s_singleton; }
6 private:
7   static foo s_singleton;
8 };
10 foo & test_access_singleton ()
12   return foo::s_singleton; // { dg-error ".foo foo::s_singleton. is private within this context" }
13   // { dg-message "declared private here" "" { target *-*-* } 7 }
14   // We don't yet support generating a fix-it hint for this case.