blob: b69ef3d3c9eb49db439b1492d1f4e8ffc637d3df [file] [log] [blame]
Douglas Gregor963c5532013-06-21 16:28:10 +00001// Test that system-headerness works for building modules.
2
3// RUN: rm -rf %t
David Majnemerc10b8382015-10-08 06:31:22 +00004// 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
Douglas Gregor963c5532013-06-21 16:28:10 +00005// expected-no-diagnostics
6
7@import warning;
8int i = bigger_than_int;
Richard Smithef99e4d2014-10-03 00:31:35 +00009
10#include <stddef.h>
11
12#define __need_size_t
13#include <stddef.h>