| 1 | // RUN: rm -rf %t |
|---|---|
| 2 | // RUN: %clang -cc1 -fsyntax-only -nobuiltininc -nostdinc++ -isysroot %S/Inputs/libc-libcxx/sysroot -isystem %S/Inputs/libc-libcxx/sysroot/usr/include/c++/v1 -isystem %S/Inputs/libc-libcxx/sysroot/usr/include -std=c++11 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -x objective-c++ -fmodules-local-submodule-visibility %s |
| 3 | |
| 4 | #include <stdio.h> |
| 5 | #include <stddef.h> |
| 6 | #include <cstddef> |
| 7 | |
| 8 | typedef ptrdiff_t try1_ptrdiff_t; |
| 9 | typedef my_ptrdiff_t try2_ptrdiff_t; |
| 10 | |
| 11 |