llvm-project/clang/test/CodeGenCXX/2003-11-18-PtrMemConstantInitializer.cpp
Eric Christopher aab7dffa12 Migrate, FileCheckize and update:
2003-11-02-WeakLinkage.cpp
2003-11-18-PtrMemConstantInitializer.cpp
2003-11-25-ReturningOpaqueByValue.cpp
2003-11-27-MultipleInheritanceThunk.cpp
2003-11-29-DuplicatedCleanupTest.cpp
2003-12-08-ArrayOfPtrToMemberFunc.cpp
2004-01-11-DynamicInitializedConstant.cpp

from llvm/test/FrontendC++.

llvm-svn: 138162
2011-08-20 00:17:18 +00:00

14 lines
182 B
C++

// RUN: %clang_cc1 -emit-llvm %s -o -
struct Gfx {
void opMoveSetShowText();
};
struct Operator {
void (Gfx::*func)();
};
Operator opTab[] = {
{&Gfx::opMoveSetShowText},
};