blob: 16de854563fca7aa74915e742ff3f7bc5a6a7a69 [file] [log] [blame]
Richard Smithef99e4d2014-10-03 00:31:35 +00001// RUN: rm -rf %t
Richard Smith47972af2015-06-16 00:08:24 +00002// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/StdDef %s -verify -fno-modules-error-recovery
Richard Smithef99e4d2014-10-03 00:31:35 +00003
4#include "ptrdiff_t.h"
5
6ptrdiff_t pdt;
7
8size_t st; // expected-error {{must be imported}}
9// expected-note@stddef.h:* {{previous}}
10
11#include "include_again.h"
12
13size_t st2;