| 1 | #include <stdio.h> |
|---|---|
| 2 | |
| 3 | class A { |
| 4 | public: |
| 5 | int __attribute__((abi_tag("cxx11"))) test_abi_tag() { |
| 6 | return 1; |
| 7 | } |
| 8 | int test_asm_name() asm("A_test_asm") { |
| 9 | return 2; |
| 10 | } |
| 11 | }; |
| 12 | |
| 13 | int main(int argc, char **argv) { |
| 14 | A a; |
| 15 | // Break here |
| 16 | a.test_abi_tag(); |
| 17 | a.test_asm_name(); |
| 18 | return 0; |
| 19 | } |
| 20 |
