summaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc.dg/gnu-runtime-3.m
blob: e0c8cc4164df8675f43ea2dade273a06c96a2821 (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/Object.h>
#include <string.h>
#include <stdlib.h>

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