Home | History | Annotate | Download | only in Modules
      1 // Test that system-headerness works for building modules.
      2 
      3 // RUN: rm -rf %t
      4 // RUN: %clang_cc1 -triple %itanium_abi_triple -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/cache -isystem %S/Inputs -pedantic -Werror %s -verify -std=c11
      5 // expected-no-diagnostics
      6 
      7 @import warning;
      8 int i = bigger_than_int;
      9 
     10 #include <stddef.h>
     11 
     12 #define __need_size_t
     13 #include <stddef.h>
     14