summaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc.dg/torture/trivial.m
blob: a1ac22ed481384ef53986be52de962a5f59b7d92 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do run } */
/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
/* { dg-additional-sources "../../objc-obj-c++-shared/Object1.m" } */

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

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