2 # (C) 2007 Jelmer Vernooij <jelmer@samba.org>
3 # Published under the GNU General Public License
7 use Test
::More tests
=> 2;
8 use FindBin
qw($RealBin);
17 my $pidl = Parse::Pidl::IDL::parse_string("interface echo { $idl }; ", "nofile");
18 Parse::Pidl::NDR::Parse($pidl);
21 test_warnings("", sub {parse_idl("void x();"); });
22 test_warnings("nofile:0: top-level [out] pointer `x' is not a [ref] pointer\n", sub {parse_idl("void x([out,unique] int *x);"); });