summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/signed.C
blob: 2c95f3db48caaa0bbe7c60b0f00473bf6b8d7d65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// { dg-do assemble  }

// Copyright (C) 1999 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 24 Mar 1999 <nathan@acm.org>

// Determine that function style casts are groked

void fn()
{
  +char(5);
  +short(5);
  +int(5);
  +long(5);
  +signed(5);
  +unsigned(5);
}