summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/debug-info-ctor2.cpp
blob: 3bc931e984487bd72def14cffba500935a655102 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// FIXME: Check IR rather than asm, then triple is not needed.
// RUN: %clang -Xclang -triple=%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);