Home | History | Annotate | Download | only in Inputs
      1 void f1(int *ptr); // expected-warning{{pointer is missing a nullability type specifier}}
      2 
      3 void f2(int * _Nonnull);
      4 
      5 #include "nullability-consistency-2.h"
      6 
      7 void f3(int *ptr) { // expected-warning{{pointer is missing a nullability type specifier}}
      8   int *other = ptr; // shouldn't warn
      9 }
     10 
     11 class X {
     12   void mf(int *ptr); // expected-warning{{pointer is missing a nullability type specifier}}
     13   int X:: *memptr; // expected-warning{{member pointer is missing a nullability type specifier}}
     14 };
     15 
     16 
     17 
     18