I plan to release a version of dragonegg based on llvm-2.7 shortly
[oota-llvm.git] / test / FrontendC / wchar-const.c
1 // 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>
4 extern void foo(const wchar_t* p);
5 int main (int argc, const char * argv[])
6 {
7  foo(L"This is some text");
8  return 0;
9 }