diff options
Diffstat (limited to 'packages/Python/lldbsuite/test/expression_command/pr35310/main.cpp')
-rw-r--r-- | packages/Python/lldbsuite/test/expression_command/pr35310/main.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/Python/lldbsuite/test/expression_command/pr35310/main.cpp b/packages/Python/lldbsuite/test/expression_command/pr35310/main.cpp new file mode 100644 index 0000000000000..a8e8a5c737a01 --- /dev/null +++ b/packages/Python/lldbsuite/test/expression_command/pr35310/main.cpp @@ -0,0 +1,19 @@ +#include <stdio.h> + +class A { +public: + int __attribute__((abi_tag("cxx11"))) test_abi_tag() { + return 1; + } + int test_asm_name() asm("A_test_asm") { + return 2; + } +}; + +int main(int argc, char **argv) { + A a; + // Break here + a.test_abi_tag(); + a.test_asm_name(); + return 0; +} |