xref: /llvm-project/clang/test/SemaObjCXX/Inputs/nullability-consistency-smart.h (revision 7257c37357ee4540d6a63e5d2854b97f43ae2c49)
1 class _Nullable Smart;
2 
3 void f1(int * _Nonnull);
4 
5 void f2(Smart); // OK, not required on smart-pointer types
6 using Alias = Smart;
7 void f3(Alias);
8 
9 template <class T> class _Nullable SmartTmpl;
10 void f2(SmartTmpl<int>);
11 template <class T> void f2(SmartTmpl<T>);
12