* breakpoint.c (remove_sal): New.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.cp / mb-templates.cc
1
2 #include <iostream>
3 using namespace std;
4
5 template<class T>
6 void foo(T i)
7 {
8 std::cout << "hi\n"; // set breakpoint here
9 }
10
11 int main()
12 {
13 foo<int>(0);
14 foo<double>(0);
15 foo<int>(1);
16 foo<double>(1);
17 foo<int>(2);
18 foo<double>(2);
19 }
This page took 0.030288 seconds and 4 git commands to generate.