1f4a2713aSLionel Sambuc// Test that system-headerness works for building modules. 2f4a2713aSLionel Sambuc 3f4a2713aSLionel Sambuc// RUN: rm -rf %t 4*0a6a1f1dSLionel Sambuc// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t/cache -isystem %S/Inputs -pedantic -Werror %s -verify -std=c11 5f4a2713aSLionel Sambuc// expected-no-diagnostics 6f4a2713aSLionel Sambuc 7f4a2713aSLionel Sambuc@import warning; 8f4a2713aSLionel Sambucint i = bigger_than_int; 9*0a6a1f1dSLionel Sambuc 10*0a6a1f1dSLionel Sambuc#include <stddef.h> 11*0a6a1f1dSLionel Sambuc 12*0a6a1f1dSLionel Sambuc#define __need_size_t 13*0a6a1f1dSLionel Sambuc#include <stddef.h> 14