aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/is_convertible5.C
blob: ab9be05afea95dd74ad04035258f275aa0b04318 (plain)
1
2
3
4
5
6
7
// PR c++/109277
// { dg-do compile { target c++11 } }
// { dg-options -fpermissive }

struct a;
struct b{};
static_assert (!__is_convertible (a, b), ""); // { dg-warning "incomplete" }