Home | History | Annotate | Download | only in SemaOpenCL
      1 // RUN: %clang_cc1 -fsyntax-only -verify -Wmissing-prototypes %s
      2 
      3 void f() { } // expected-warning {{no previous prototype for function 'f'}}
      4 
      5 // Don't warn about kernel functions.
      6 kernel void g() { }
      7