From faaac73ff69699b84266e82b342690c2dc375df2 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 5 Mar 2007 00:03:44 +0000 Subject: r21690: Test use of typedef /and/ struct name (This used to be commit f6d9cdb8a8eca6ff986504d4481b5165aee770c6) --- source4/pidl/tests/parse_idl.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4/pidl/tests/parse_idl.pl') diff --git a/source4/pidl/tests/parse_idl.pl b/source4/pidl/tests/parse_idl.pl index 727f41a293..b82bd80e54 100755 --- a/source4/pidl/tests/parse_idl.pl +++ b/source4/pidl/tests/parse_idl.pl @@ -4,7 +4,7 @@ # Published under the GNU General Public License use strict; -use Test::More tests => 63 * 2 + 2; +use Test::More tests => 64 * 2 + 2; use FindBin qw($RealBin); use lib "$RealBin"; use Util qw(test_errors); @@ -108,6 +108,7 @@ testfail "import-nosemicolon", "import \"foo.idl\"", testok "import-multiple", "import \"foo.idl\", \"bar.idl\";"; testok "include-multiple", "include \"foo.idl\", \"bar.idl\";"; testok "empty-struct", "interface test { struct foo { }; }"; +testok "typedef-double", "interface test { typedef struct foo { } foo; }"; my $x = Parse::Pidl::IDL::parse_string("interface foo { struct x {}; }", ""); -- cgit