Richard Smith | ef99e4d | 2014-10-03 00:31:35 +0000 | [diff] [blame] | 1 | // RUN: rm -rf %t |
Richard Smith | 47972af | 2015-06-16 00:08:24 +0000 | [diff] [blame] | 2 | // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/StdDef %s -verify -fno-modules-error-recovery |
Richard Smith | ef99e4d | 2014-10-03 00:31:35 +0000 | [diff] [blame] | 3 | |
| 4 | #include "ptrdiff_t.h" |
| 5 | |
| 6 | ptrdiff_t pdt; |
| 7 | |
| 8 | size_t st; // expected-error {{must be imported}} |
| 9 | // expected-note@stddef.h:* {{previous}} |
| 10 | |
| 11 | #include "include_again.h" |
| 12 | |
| 13 | size_t st2; |