]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/SemaCXX/types_compatible_p.cpp
Vendor import of clang trunk r162107:
[FreeBSD/FreeBSD.git] / test / SemaCXX / types_compatible_p.cpp
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2
3 bool f() {
4   return __builtin_types_compatible_p(int, const int); // expected-error{{C++}}
5 }