xref: /llvm-project/clang/test/SemaCXX/remove_pointer.mm (revision e9ef45635b77598fc9ce0cd38d7d3f8c9d88a49d)
1// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3// expected-no-diagnostics
4
5@class X;
6
7static_assert(__is_same(__remove_pointer(X *), X), "");
8static_assert(__is_same(__remove_pointer(id), id), "");
9