aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp23/explicit-obj-cxx-dialect-A.C
blob: 5043e91bb28d046c4050dffeceadfe75a278a6a9 (plain)
1
2
3
4
5
6
7
// P0847R7
// { dg-do compile { target c++23 } }

struct S {
    void f(this S); // { dg-bogus {explicit object member function only available with '-std=c\+\+23' or '-std=gnu\+\+23'} }
};