summaryrefslogtreecommitdiffstats
path: root/pidl/tests/dump.pl
blob: d1a56f0973571f64f9c199903c85396b86f0e991 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/perl
# (C) 2007 Jelmer Vernooij <jelmer@samba.org>
# Published under the GNU General Public License
use strict;
use warnings;

use Test::More tests => 1;
use FindBin qw($RealBin);
use lib "$RealBin";
use Util;
use Parse::Pidl::Dump qw(DumpStruct);

is (DumpStruct({ NAME => "foo", ELEMENTS => []}), 
	"struct foo {\n}");