~ubuntu-branches/ubuntu/gutsy/m4/gutsy

« back to all changes in this revision

Viewing changes to checks/048.builtin

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-08-01 14:00:55 UTC
  • mfrom: (1.5.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070801140055-ob48jo517shsyvgk
Tags: 1.4.10-0ubuntu1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dnl @ ../doc/m4.texinfo:2311: Origin of test
 
2
dnl @ expected status: 0
 
3
dnl @ extra options: 
 
4
dnl @ Copyright (C) 2006, 2007 Free Software Foundation
 
5
dnl @ This file is free software; the Free Software Foundation
 
6
dnl @ gives unlimited permission to copy and/or distribute it
 
7
dnl @ with or without modifications, as long as this notice
 
8
dnl @ is preserved.
 
9
pushdef(`define', `hidden')
 
10
dnl @result{}
 
11
undefine(`undefine')
 
12
dnl @result{}
 
13
define(`foo', `bar')
 
14
dnl @result{}hidden
 
15
foo
 
16
dnl @result{}foo
 
17
builtin(`define', `foo', defn(`divnum'))
 
18
dnl @result{}
 
19
foo
 
20
dnl @result{}0
 
21
builtin(`define', `foo', `BAR')
 
22
dnl @result{}
 
23
foo
 
24
dnl @result{}BAR
 
25
undefine(`foo')
 
26
dnl @result{}undefine(foo)
 
27
foo
 
28
dnl @result{}BAR
 
29
builtin(`undefine', `foo')
 
30
dnl @result{}
 
31
foo
 
32
dnl @result{}foo