Home | History | Annotate | Download | only in Modules
      1 // XFAIL: hexagon
      2 // RUN: rm -rf %t
      3 // RUN: %clang -Wunused-local-typedef -c -x objective-c++ -fcxx-modules -fmodules -fmodules-cache-path=%t -I %S/Inputs %s -o /dev/null 2>&1 | FileCheck %s -check-prefix=CHECK_1
      4 // RUN: %clang -Wunused-local-typedef -c -x objective-c++ -fcxx-modules -fmodules -fmodules-cache-path=%t -I %S/Inputs %s -o /dev/null 2>&1 | FileCheck %s -check-prefix=CHECK_2 -allow-empty
      5 
      6 // For modules, the warning should only fire the first time, when the module is
      7 // built.
      8 // CHECK_1: warning: unused typedef
      9 // CHECK_2-NOT: warning: unused typedef
     10 @import warn_unused_local_typedef;
     11