Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/ext/is_base_of_diagnostic.C @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
class A { }; class B; // { dg-message "forward declaration" } union C { }; union D; void f() { __is_base_of(A, B); // { dg-error "incomplete type" } __is_base_of(C, D); }