diff options
Diffstat (limited to 'clang/test/SemaCXX/MicrosoftExtensions.cpp')
| -rw-r--r-- | clang/test/SemaCXX/MicrosoftExtensions.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/clang/test/SemaCXX/MicrosoftExtensions.cpp b/clang/test/SemaCXX/MicrosoftExtensions.cpp index 3b54c281afe..6d221a409e7 100644 --- a/clang/test/SemaCXX/MicrosoftExtensions.cpp +++ b/clang/test/SemaCXX/MicrosoftExtensions.cpp @@ -176,29 +176,6 @@ void pointer_to_integral_type_conv(char* ptr) { b = reinterpret_cast<bool>(ptr); // expected-error {{cast from pointer to smaller type 'bool' loses information}} } -namespace friend_as_a_forward_decl { - -class A { - class Nested { - friend class B; - B* b; - }; - B* b; -}; -B* global_b; - - -void f() -{ - class Local { - friend class Z; - Z* b; - }; - Z* b; -} - -} - struct PR11150 { class X { virtual void f() = 0; |

