File: e_31.c

package info (click to toggle)
mcpp 2.7.2-4
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 8,584 kB
  • ctags: 29,739
  • sloc: ansic: 35,240; sh: 9,241; makefile: 116; cpp: 84; exp: 18
file content (15 lines) | stat: -rw-r--r-- 225 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* e_31.c:  Illegal macro calls.    */

#define sub( x, y)      (x - y)

/* 31.1:    Too many arguments error.   */
    sub( x, y, z);

/* 31.2:    Too few arguments error.    */
    sub( x);

main( void)
{
    return  0;
}