diff options
Diffstat (limited to 'test/SemaCXX/microsoft-cxx0x.cpp')
-rw-r--r-- | test/SemaCXX/microsoft-cxx0x.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/test/SemaCXX/microsoft-cxx0x.cpp b/test/SemaCXX/microsoft-cxx0x.cpp index a0dbb75e07..3b9bbefc0c 100644 --- a/test/SemaCXX/microsoft-cxx0x.cpp +++ b/test/SemaCXX/microsoft-cxx0x.cpp @@ -6,26 +6,3 @@ struct A { }; int b = 3; A var = { b }; // expected-warning {{ cannot be narrowed }} expected-note {{override}} - -namespace PR11826 { - struct pair { - pair(int v) { } - void operator=(pair&& rhs) { } - }; - void f() { - pair p0(3); - pair p = p0; - } -} - -namespace PR11826_for_symmetry { - struct pair { - pair(int v) { } - pair(pair&& rhs) { } - }; - void f() { - pair p0(3); - pair p(4); - p = p0; - } -} |