summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/lldb/packages/Python/lldbsuite/test/commands/expression/pr35310/main.cpp
blob: a8e8a5c737a01d9e642a0b2a39da580245cd3cc4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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;
}