aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/objc.dg/gnu-runtime-3.m
blob: d26f48cf9801a146e98dce0e121ac9e3382ca504 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Sanity check for GNU-runtime regardless of runtime used on target system.  */

/* { dg-do run } */
/* { dg-skip-if "" { *-*-* } { "-fnext-runtime" } { "" } } */

#include "../objc-obj-c++-shared/TestsuiteObject.m"
#include <string.h>
#include <stdlib.h>

int main(int argc, void **args)
{
  [TestsuiteObject new];
  return 0;
}