xref: /original-bsd/old/dbx/tests/cc/same.c (revision f43fc9d7)
1 /*
2  * The purpose of this test case is to make sure that dbx interprets
3  * the command "stop in same" at the top level to mean stop in the
4  * routine same.  Originally, dbx complained since "same" in the initial
5  * context refers to the module named "same" (since this file is "same.c").
6  */
7 
8 same ()
9 {
10     printf("same function and module names\n");
11 }
12 
13 main ()
14 {
15     same();
16     exit(0);
17 }
18