summaryrefslogtreecommitdiff
path: root/gcc/testsuite/obj-c++.dg/overload-1.mm
blob: d4999897d25cd4fb66b6f7ea5d348744fbf89649 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Make sure we can overload on ObjC classes
// Radar 3960754

// { dg-do compile }

@class A, B; 

struct X {
  void call(A*);
  void call(B*);
};