summaryrefslogtreecommitdiff
path: root/gcc/testsuite/obj-c++.dg/torture/trivial.mm
blob: e627343a8cdf44ee3c9f0c2e9f6078ab2318b4e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do run }

// { dg-xfail-run-if "OBJC2 runtime" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime"  } { "-fgnu-runtime" } }
// { dg-additional-sources "../../objc-obj-c++-shared/Object1.mm" }

#import "../../objc-obj-c++-shared/Object1.h"

int main(void)
{
  [Object class];
  return 0;
}