diff options
author | Nikola Smiljanic <popizdeh@gmail.com> | 2014-06-03 02:56:59 +0000 |
---|---|---|
committer | Nikola Smiljanic <popizdeh@gmail.com> | 2014-06-03 02:56:59 +0000 |
commit | b8f8099895220df694e9cdebea24c6f9ca7e63e7 (patch) | |
tree | 68631192b6df6d6ecb759d9e38a0f99e0baa9765 | |
parent | 27c60b512a5f9f602602748eb592d6c6909671c4 (diff) | |
download | bcm5719-llvm-b8f8099895220df694e9cdebea24c6f9ca7e63e7.tar.gz bcm5719-llvm-b8f8099895220df694e9cdebea24c6f9ca7e63e7.zip |
Move DR532 test where it belongs.
llvm-svn: 210064
-rw-r--r-- | clang/test/CXX/drs/dr5xx.cpp | 16 | ||||
-rw-r--r-- | clang/test/CXX/temp/temp.decls/temp.fct/temp.func.order/p3.cpp | 16 |
2 files changed, 16 insertions, 16 deletions
diff --git a/clang/test/CXX/drs/dr5xx.cpp b/clang/test/CXX/drs/dr5xx.cpp index 09b28690fd4..3a8aa34a779 100644 --- a/clang/test/CXX/drs/dr5xx.cpp +++ b/clang/test/CXX/drs/dr5xx.cpp @@ -194,3 +194,19 @@ namespace dr525 { // dr525: yes } } } + +// Core DR 532. +namespace PR8130 { + struct A { }; + + template<class T> struct B { + template<class R> int &operator*(R&); + }; + + template<class T, class R> float &operator*(T&, R&); + void test() { + A a; + B<A> b; + int &ir = b * a; + } +} diff --git a/clang/test/CXX/temp/temp.decls/temp.fct/temp.func.order/p3.cpp b/clang/test/CXX/temp/temp.decls/temp.fct/temp.func.order/p3.cpp index a1f6374c3d5..db3952a388c 100644 --- a/clang/test/CXX/temp/temp.decls/temp.fct/temp.func.order/p3.cpp +++ b/clang/test/CXX/temp/temp.decls/temp.fct/temp.func.order/p3.cpp @@ -2,22 +2,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s // expected-no-diagnostics -// Core DR 532. -namespace PR8130 { - struct A { }; - - template<class T> struct B { - template<class R> int &operator*(R&); - }; - - template<class T, class R> float &operator*(T&, R&); - void test() { - A a; - B<A> b; - int &ir = b * a; - } -} - namespace OrderWithStaticMember { struct A { template<class T> int g(T**, int=0) { return 0; } |