Dale Johannesen | 27698eb | 2009-08-06 17:28:23 +0000 | [diff] [blame] | 1 | // RUN: %llvmgcc -S %s -o - | grep {constant \\\[18 x} | grep { 84, } |
2 | // This should pass for any endianness combination of host and target. | ||||
Dan Gohman | f536368 | 2009-08-11 19:59:21 +0000 | [diff] [blame] | 3 | #include <wchar.h> |
Dale Johannesen | 27698eb | 2009-08-06 17:28:23 +0000 | [diff] [blame] | 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 | } |