1 | // RUN: rm -rf %t |
---|---|
2 | // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/StdDef %s -verify -fno-modules-error-recovery |
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; |
14 |