r295982 - Reverted r295975
Serge Pavlov via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 23 07:10:45 PST 2017
Author: sepavloff
Date: Thu Feb 23 09:10:45 2017
New Revision: 295982
URL: http://llvm.org/viewvc/llvm-project?rev=295982&view=rev
Log:
Reverted r295975
Removed:
cfe/trunk/test/SemaCXX/friend3.cpp
Removed: cfe/trunk/test/SemaCXX/friend3.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/friend3.cpp?rev=295981&view=auto
==============================================================================
--- cfe/trunk/test/SemaCXX/friend3.cpp (original)
+++ cfe/trunk/test/SemaCXX/friend3.cpp (removed)
@@ -1,27 +0,0 @@
-// RUN: %clang_cc1 -S -triple i686-pc-linux-gnu -std=c++11 %s -o - | FileCheck %s
-
-namespace pr8852 {
-void foo();
-struct S {
- friend void foo() {}
-};
-
-void main() {
- foo();
-}
-// CHECK: _ZN6pr88523fooEv:
-}
-
-namespace pr9518 {
-template<typename T>
-struct provide {
- friend T f() { return T(); }
-};
-
-void g() {
- void f();
- provide<void> p;
- f();
-}
-// CHECK: _ZN6pr95181fEv:
-}
More information about the cfe-commits
mailing list