llvm-project/clang/test/Modules/builtin-import.mm

13 lines
447 B
Plaintext
Raw Normal View History

// REQUIRES: system-darwin
// RUN: rm -rf %t
// RUN: %clang -cc1 -fsyntax-only -nostdinc++ -isysroot %S/Inputs/libc-libcxx/sysroot -isystem %S/Inputs/libc-libcxx/sysroot/usr/include/c++/v1 -std=c++11 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -x objective-c++ -fmodules-local-submodule-visibility %s
#include <stdio.h>
#include <stddef.h>
#include <cstddef>
typedef ptrdiff_t try1_ptrdiff_t;
typedef my_ptrdiff_t try2_ptrdiff_t;