xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-ctor2.cpp (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc // FIXME: Check IR rather than asm, then triple is not needed.
2*0a6a1f1dSLionel Sambuc // RUN: %clang -Xclang -triple=%itanium_abi_triple -fverbose-asm -g -S %s -o - | grep AT_explicit
3f4a2713aSLionel Sambuc 
4f4a2713aSLionel Sambuc 
5f4a2713aSLionel Sambuc class MyClass
6f4a2713aSLionel Sambuc {
7f4a2713aSLionel Sambuc public:
MyClass(int i)8f4a2713aSLionel Sambuc     explicit MyClass (int i) :
9f4a2713aSLionel Sambuc         m_i (i)
10f4a2713aSLionel Sambuc     {}
11f4a2713aSLionel Sambuc private:
12f4a2713aSLionel Sambuc     int m_i;
13f4a2713aSLionel Sambuc };
14f4a2713aSLionel Sambuc 
15f4a2713aSLionel Sambuc MyClass m(1);
16f4a2713aSLionel Sambuc 
17