aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp23/explicit-obj-cxx-dialect-D.C
blob: 49b7ea0df44a5ec717673b993cc2758fe7548970 (plain)
1
2
3
4
5
6
7
8
// P0847R7
// { dg-do compile { target c++20_down } }
// { dg-options "-Wno-c++23-extensions" }

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