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