blob: 7cf3322e8cf9663bf8dd0de66f7812697ac466f4 [file] [log] [blame]
Shih-wei Liaoe264f622010-02-10 11:10:31 -08001// RUN: %llvmgcc -S %s -o - | grep {constant \\\[18 x} | grep { 84, }
2// This should pass for any endianness combination of host and target.
3#include <wchar.h>
4extern void foo(const wchar_t* p);
5int main (int argc, const char * argv[])
6{
7 foo(L"This is some text");
8 return 0;
9}