summaryrefslogtreecommitdiffstats
path: root/test/FrontendC++/2003-11-18-PtrMemConstantInitializer.cpp
blob: ae76a6c6379dbbbe21888a60e0c1df9202fc310d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null

struct Gfx {
  void opMoveSetShowText();
};

struct Operator {
  void (Gfx::*func)();
};

Operator opTab[] = {
  {&Gfx::opMoveSetShowText},
};

OpenPOWER on IntegriCloud