diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-09-17 17:12:27 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-09-17 17:12:27 +0200 |
commit | 79190992b3820cd028c961c48bdea9b35baf13c9 (patch) | |
tree | 0de851669d98f04e947d20349d96723462cd1eb0 /source4/pidl/tests/ndr_compat.pl | |
parent | 3b5330e9094ecf0be94d3dbea744de140ec55e19 (diff) | |
download | samba-79190992b3820cd028c961c48bdea9b35baf13c9.tar.gz samba-79190992b3820cd028c961c48bdea9b35baf13c9.tar.bz2 samba-79190992b3820cd028c961c48bdea9b35baf13c9.zip |
Move pidl to top-level directory.
Diffstat (limited to 'source4/pidl/tests/ndr_compat.pl')
-rwxr-xr-x | source4/pidl/tests/ndr_compat.pl | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/source4/pidl/tests/ndr_compat.pl b/source4/pidl/tests/ndr_compat.pl deleted file mode 100755 index 355e7f6732..0000000000 --- a/source4/pidl/tests/ndr_compat.pl +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/perl -# (C) 2007 Jelmer Vernooij <jelmer@samba.org> -# Published under the GNU General Public License -use strict; - -use Test::More tests => 2; -use FindBin qw($RealBin); -use lib "$RealBin"; -use Util; -use Parse::Pidl; -use Parse::Pidl::IDL; - -sub parse_idl($) -{ - my $idl = shift; - my $pidl = Parse::Pidl::IDL::parse_string("interface echo { $idl }; ", "nofile"); - Parse::Pidl::NDR::Parse($pidl); -} - -test_warnings("", sub {parse_idl("void x();"); }); -test_warnings("nofile:0: top-level [out] pointer `x' is not a [ref] pointer\n", sub {parse_idl("void x([out,unique] int *x);"); }); |