source: branches/samba-3.5.x/pidl/tests/dump.pl@ 1036

Last change on this file since 1036 was 414, checked in by Herwig Bauernfeind, 15 years ago

Samba 3.5.0: Initial import

File size: 333 bytes
Line 
1#!/usr/bin/perl
2# (C) 2007 Jelmer Vernooij <jelmer@samba.org>
3# Published under the GNU General Public License
4use strict;
5use warnings;
6
7use Test::More tests => 1;
8use FindBin qw($RealBin);
9use lib "$RealBin";
10use Util;
11use Parse::Pidl::Dump qw(DumpStruct);
12
13is (DumpStruct({ NAME => "foo", ELEMENTS => []}),
14 "struct foo {\n}");
15
Note: See TracBrowser for help on using the repository browser.