Committing a couple tests from earlier.

This commit is contained in:
Steve Nygard 2009-08-04 10:40:14 +00:00
parent a19841363c
commit 184cb0e973
2 changed files with 32 additions and 0 deletions

28
UnitTests/var-004.txt Normal file
View File

@ -0,0 +1,28 @@
var 1
{RetainPtr<const __CFString*>=^{__CFString}}
var
{My::List<int>}
var
{My::List<int*>}
var
{My::List<int*,int*>}
var
{My::List<My::List<int>*,int>}
// If it's still in the template mode, it adds any identifier after the > to the suffix;
var
{My::List<My::List<int>*bob,int>}
// And this should fail:
var
{My::List<int>*}
// Should this work or not?
var
{^My::List<int>}

4
UnitTests/var-005.txt Normal file
View File

@ -0,0 +1,4 @@
// From Safari 4.0.2 on Mac OS X 10.5:
var
{pair<Safari::SString,WTF::Vector<WTF::RefPtr<Safari::Bookmark>, 0ul>*>}