1 //===-- main.c --------------------------------------------------*- C++ -*-===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 template <typename T> 11 class Foo 12 { 13 public: 14 Foo () : object() {} 15 Foo (T x) : object(x) {} 16 T getObject() { return object; } 17 private: 18 T object; 19 }; 20 21 22 int main (int argc, char const *argv[]) 23 { 24 Foo<int> foo_x('a'); 25 Foo<wchar_t> foo_y(L'a'); 26 const wchar_t *mazeltov = L" "; 27 return 0; // Set break point at this line. 28 } 29