summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2018-09-12 02:28:14 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2018-09-12 02:28:14 +0000
commit4034461abd207614cafec65e863ef20caff48669 (patch)
tree294731666a45d2531fbf35de0720e1585d01ccde /clang/test/Modules
parente731d9acff40e6240b8677583b3ff2aaa23e5211 (diff)
downloadbcm5719-llvm-4034461abd207614cafec65e863ef20caff48669.tar.gz
bcm5719-llvm-4034461abd207614cafec65e863ef20caff48669.zip
Revert r342019, "Track definition merging on the canonical declaration
even when [...]" Further testing has revealed that this causes build breaks during explicit module compilations. llvm-svn: 342020
Diffstat (limited to 'clang/test/Modules')
-rw-r--r--clang/test/Modules/merge-template-pattern-visibility-3.cpp34
1 files changed, 0 insertions, 34 deletions
diff --git a/clang/test/Modules/merge-template-pattern-visibility-3.cpp b/clang/test/Modules/merge-template-pattern-visibility-3.cpp
deleted file mode 100644
index 9ac1b6699da..00000000000
--- a/clang/test/Modules/merge-template-pattern-visibility-3.cpp
+++ /dev/null
@@ -1,34 +0,0 @@
-// RUN: %clang_cc1 -fmodules -emit-llvm-only %s -verify
-
-#pragma clang module build A
-module A {}
-#pragma clang module contents
-#pragma clang module begin A
-template<typename T> void f(const T&) { T::error; }
-#pragma clang module end
-#pragma clang module endbuild
-
-#pragma clang module build B
-module B {}
-#pragma clang module contents
-#pragma clang module begin B
-template<typename T> void f(const T&) { T::error; }
-#pragma clang module end
-#pragma clang module endbuild
-
-#pragma clang module build C
-module C {}
-#pragma clang module contents
-#pragma clang module begin C
-#pragma clang module load B
-template<typename T> void f(const T&) { T::error; }
-#pragma clang module end
-#pragma clang module endbuild
-
-#pragma clang module load A
-inline void f() {}
-void x() { f(); }
-
-#pragma clang module import C
-// expected-error@* {{cannot be used prior to}}
-void y(int n) { f(n); } // expected-note {{instantiation of}}
OpenPOWER on IntegriCloud