[PATCH 7/57][Arm][GAS] Add support for MVE instructions: vstr/vldr
[binutils-gdb.git] / gdb / testsuite / gdb.cp / mb-templates.cc
blob649d7eda69fbaa4e2aa1ca3fcf8f15f553ebc7b0
2 #include <iostream>
3 using namespace std;
5 template<class T>
6 void foo(T i)
8 std::cout << "hi\n"; // set breakpoint here
11 template<class T>
12 void multi_line_foo(T i)
14 std::cout // set multi-line breakpoint here
15 << "hi\n";
18 int main()
20 foo<int>(0);
21 foo<double>(0);
22 foo<int>(1);
23 foo<double>(1);
24 foo<int>(2);
25 foo<double>(2);
27 multi_line_foo<int>(0);
28 multi_line_foo<double>(0);
30 return 0;