1 #include "../Sequence_Unit_Tests/test_macros.h"
4 #include <ast_typedef.h>
6 #include <utl_identifier.h>
10 int test_fixed_typedef ()
12 Identifier
id_fixed ("fixed");
13 UTL_ScopedName
name_fixed (&id_fixed
, 0);
14 AST_Expression
digits (22), scale (2);
15 AST_Fixed
fixed (&name_fixed
, &digits
, &scale
);
17 Identifier
id_typedef ("Myfixed");
18 UTL_ScopedName
name_typedef (&id_typedef
, 0);
19 AST_Typedef
td (&fixed
, &name_typedef
, false, false);
20 CHECK (td
.owns_base_type ());
24 int ACE_TMAIN (int, ACE_TCHAR
*[])
27 int status
= EXIT_SUCCESS
;
28 status
+= test_fixed_typedef ();