Bug 596580: Fix mozJSSubScriptLoader's version finding. (r=brendan)
[mozilla-central.git] / xpcom / tests / TestXPIDLString.cpp
blobf2802e1f6c8ef5889313a9195aff8d4067b1a2ff
1 #include "nsString.h"
2 #include "nsReadableUtils.h"
3 #include "nsXPIDLString.h"
5 static void
6 nsXPIDLStringTest_Value(PRUnichar** aResult)
8 *aResult = ToNewUnicode(NS_LITERAL_STRING("Hello, World"));
11 int
12 main(int argc, char* argv[])
14 nsXPIDLString s1;
15 nsXPIDLStringTest_Value(getter_Copies(s1));
16 return 0;