Revert "[ELF] Refine isExported/isPreemptible condition"
[llvm-project.git] / lldb / test / API / lang / cpp / wchar_t / main.cpp
blob778642e0133f0056725445a0938efbb94b94fc5a
1 #include <cstring>
3 template <typename T>
4 class Foo
6 public:
7 Foo () : object() {}
8 Foo (T x) : object(x) {}
9 T getObject() { return object; }
10 private:
11 T object;
15 int main (int argc, char const *argv[])
17 Foo<int> foo_x('a');
18 Foo<wchar_t> foo_y(L'a');
19 const wchar_t *mazeltov = L"מזל טוב";
20 wchar_t *ws_NULL = nullptr;
21 wchar_t *ws_empty = L"";
22 wchar_t array[200], * array_source = L"Hey, I'm a super wchar_t string, éõñž";
23 wchar_t wchar_zero = (wchar_t)0;
24 memcpy(array, array_source, 39 * sizeof(wchar_t));
25 return 0; // break here