Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Unified Diff: test/SemaCXX/cxx11-inheriting-ctors.cpp

Issue 184973004: Prep for merging 3.4: Undo changes from 3.3 branch (Closed) Base URL: http://git.chromium.org/native_client/pnacl-clang.git@master
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/Preprocessor/init.c ('k') | tools/clang-format/clang-format.el » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/SemaCXX/cxx11-inheriting-ctors.cpp
diff --git a/test/SemaCXX/cxx11-inheriting-ctors.cpp b/test/SemaCXX/cxx11-inheriting-ctors.cpp
deleted file mode 100644
index 67d55213a0847cc5e3abd5096bdf9e7b46bbc465..0000000000000000000000000000000000000000
--- a/test/SemaCXX/cxx11-inheriting-ctors.cpp
+++ /dev/null
@@ -1,28 +0,0 @@
-// RUN: %clang_cc1 -std=c++11 %s -verify
-
-// expected-no-diagnostics
-
-namespace PR15757 {
- struct S {
- };
-
- template<typename X, typename Y> struct T {
- template<typename A> T(X x, A &&a) {}
-
- template<typename A> explicit T(A &&a)
- noexcept(noexcept(T(X(), static_cast<A &&>(a))))
- : T(X(), static_cast<A &&>(a)) {}
- };
-
- template<typename X, typename Y> struct U : T<X, Y> {
- using T<X, Y>::T;
- };
-
- U<S, char> foo(char ch) { return U<S, char>(ch); }
-
- int main() {
- U<S, int> a(42);
- U<S, char> b('4');
- return 0;
- }
-}
« no previous file with comments | « test/Preprocessor/init.c ('k') | tools/clang-format/clang-format.el » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698