diff options
author | John Criswell <criswell@uiuc.edu> | 2003-09-26 14:58:39 +0000 |
---|---|---|
committer | John Criswell <criswell@uiuc.edu> | 2003-09-26 14:58:39 +0000 |
commit | 91d66aa243c7075e05c06c9382b505c3293769e4 (patch) | |
tree | ced6efff9c2d0012708d96a2a69bd62798c3a2d7 /test/C++Frontend/pointer_method.cpp | |
parent | 67181ca7f67cd2959ee5d1d583d8b7e179f44d96 (diff) |
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
Diffstat (limited to 'test/C++Frontend/pointer_method.cpp')
-rw-r--r-- | test/C++Frontend/pointer_method.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
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 <stdio.h> - -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; -} |