aboutsummaryrefslogtreecommitdiff
path: root/test/Modules/stddef.c
blob: aefc90f9a11786bada09ae40af5c781498612773 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: rm -rf %t
// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -I%S/Inputs/StdDef %s -verify -fno-modules-error-recovery

#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;