17 lines
276 B
C++
17 lines
276 B
C++
|
// FIXME: Check IR rather than asm, then triple is not needed.
|
||
|
// RUN: %clang --target=%itanium_abi_triple -fverbose-asm -g -S %s -o - | grep AT_explicit
|
||
|
|
||
|
|
||
|
class MyClass
|
||
|
{
|
||
|
public:
|
||
|
explicit MyClass (int i) :
|
||
|
m_i (i)
|
||
|
{}
|
||
|
private:
|
||
|
int m_i;
|
||
|
};
|
||
|
|
||
|
MyClass m(1);
|
||
|
|