Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 1 | // FIXME: Check IR rather than asm, then triple is not needed. |
2 | // RUN: %clang -Xclang -triple=%itanium_abi_triple -fverbose-asm -g -S %s -o - | grep AT_explicit | ||||
Devang Patel | 18e06c0 | 2010-10-01 23:32:17 +0000 | [diff] [blame] | 3 | |
4 | |||||
5 | class MyClass | ||||
6 | { | ||||
7 | public: | ||||
8 | explicit MyClass (int i) : | ||||
9 | m_i (i) | ||||
10 | {} | ||||
11 | private: | ||||
12 | int m_i; | ||||
13 | }; | ||||
14 | |||||
15 | MyClass m(1); | ||||
16 |