You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
281 B
10 lines
281 B
4 months ago
|
// RUN: rm -rf %t
|
||
|
// RUN: mkdir %t
|
||
|
// RUN: echo 'module X { header "x.h" }' > %t/map
|
||
|
// RUN: echo 'extern int n;' > %t/x.h
|
||
|
// RUN: cd %t
|
||
|
// RUN: %clang_cc1 %s -fmodules -fmodule-map-file=map -fmodules-cache-path=. -verify -I.
|
||
|
// expected-no-diagnostics
|
||
|
#include "x.h"
|
||
|
int *m = &n;
|