diff options
author | Devang Patel <dpatel@apple.com> | 2010-10-01 23:32:17 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-10-01 23:32:17 +0000 |
commit | d78a01906d2a1edb572a99c11f0901beddbcd8c0 (patch) | |
tree | a99dcf32c6e3be2b0b4f13a79a2d4be776349cc1 /test/CodeGenCXX/debug-info-ctor2.cpp | |
parent | 946928f48c96bddf3cfa126862f5ab69c2d904a0 (diff) |
Mark explict methods as explict in debug info.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@115379 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/debug-info-ctor2.cpp')
-rw-r--r-- | test/CodeGenCXX/debug-info-ctor2.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/CodeGenCXX/debug-info-ctor2.cpp b/test/CodeGenCXX/debug-info-ctor2.cpp new file mode 100644 index 0000000000..19bd64b3cd --- /dev/null +++ b/test/CodeGenCXX/debug-info-ctor2.cpp @@ -0,0 +1,15 @@ +// RUN: %clang -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); + |