From 91d66aa243c7075e05c06c9382b505c3293769e4 Mon Sep 17 00:00:00 2001 From: John Criswell Date: Fri, 26 Sep 2003 14:58:39 +0000 Subject: Removing these tests from the regressions directory. They now live in llvm/test/Programs/SingleSource/Regression alongside their UnitTest brethren. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8722 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/C++Frontend/pointer_method.cpp | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 test/C++Frontend/pointer_method.cpp (limited to 'test/C++Frontend/pointer_method.cpp') diff --git a/test/C++Frontend/pointer_method.cpp b/test/C++Frontend/pointer_method.cpp deleted file mode 100644 index a8f76ab20c..0000000000 --- a/test/C++Frontend/pointer_method.cpp +++ /dev/null @@ -1,23 +0,0 @@ -#include - -struct B { - int X; - void i() { - printf("i, %d\n", X); - } - void j() { - printf("j, %d\n", X); - } -}; - -void foo(int V, void (B::*Fn)()) { - B b; b.X = V; - (b.*Fn)(); -} - -int main() { - foo(4, &B::i); - foo(6, &B::j); - foo(-1, &B::i); - return 0; -} -- cgit v1.2.3-70-g09d2