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