bolt/deps/llvm-18.1.8/clang/test/SemaCXX/remove_pointer.mm
2025-02-14 19:21:04 +01:00

8 lines
196 B
Text

// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
@class X;
static_assert(__is_same(__remove_pointer(X *), X), "");
static_assert(__is_same(__remove_pointer(id), id), "");