Debian Codegraph @

gcc/testsuite/g++.dg/cpp23/explicit-obj-cxx-dialect-D.C

raw
1 // P0847R7
2 // { dg-do compile { target c++20_down } }
3 // { dg-options "-Wno-c++23-extensions" }
4
5 struct S {
6 void f(this S); // { dg-bogus {explicit object member function only available with '-std=c\+\+23' or '-std=gnu\+\+23'} }
7 };
8