2014-10-03 08:31:35 +08:00
|
|
|
// RUN: rm -rf %t
|
2015-06-16 08:08:24 +08:00
|
|
|
// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/StdDef %s -verify -fno-modules-error-recovery
|
2014-10-03 08:31:35 +08:00
|
|
|
|
|
|
|
#include "ptrdiff_t.h"
|
|
|
|
|
|
|
|
ptrdiff_t pdt;
|
|
|
|
|
|
|
|
size_t st; // expected-error {{must be imported}}
|
|
|
|
// expected-note@stddef.h:* {{previous}}
|
|
|
|
|
|
|
|
#include "include_again.h"
|
|
|
|
|
|
|
|
size_t st2;
|