summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/recursive.c
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2014-03-05 20:55:36 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2014-03-05 20:55:36 +0000
commit7bea1d42d8cd8c90496b1a3306fc56814cebbde7 (patch)
tree2807499439264556600b66dac094f257f9bc8635 /clang/test/Modules/recursive.c
parent8c71eba19f267c5ea6561d9d92fbc963cfc88a9c (diff)
downloadbcm5719-llvm-7bea1d42d8cd8c90496b1a3306fc56814cebbde7.tar.gz
bcm5719-llvm-7bea1d42d8cd8c90496b1a3306fc56814cebbde7.zip
When building a module from the command line via -emit-module, add an entry to
the module build stack for the module being built, so we can correctly detect recursive module builds. llvm-svn: 203006
Diffstat (limited to 'clang/test/Modules/recursive.c')
-rw-r--r--clang/test/Modules/recursive.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Modules/recursive.c b/clang/test/Modules/recursive.c
index 668ba38dffa..7941df68405 100644
--- a/clang/test/Modules/recursive.c
+++ b/clang/test/Modules/recursive.c
@@ -2,8 +2,8 @@
// RUN: not %clang_cc1 -fmodules -x objective-c -fmodules-cache-path=%t -I %S/Inputs %s 2>&1 | FileCheck %s
#include "recursive1.h"
-// FIXME: rm -rf %t
-// FIXME: not %clang_cc1 -fmodules -x objective-c -fmodules-cache-path=%t -emit-module -fmodule-name=recursive1 %S/Inputs/module.map 2>&1 | FileCheck %s
+// RUN: rm -rf %t
+// RUN: not %clang_cc1 -fmodules -x objective-c -fmodules-cache-path=%t -emit-module -fmodule-name=recursive1 %S/Inputs/module.map 2>&1 | FileCheck %s
// CHECK: While building module 'recursive1'{{( imported from .*/recursive.c:3)?}}:
// CHECK-NEXT: While building module 'recursive2' imported from {{.*}}Inputs/recursive1.h:1:
OpenPOWER on IntegriCloud