~ubuntu-branches/ubuntu/edgy/mcpp/edgy

« back to all changes in this revision

Viewing changes to cpp-test/test-t/e_17.c

  • Committer: Bazaar Package Importer
  • Author(s): NIIBE Yutaka
  • Date: 2005-04-16 15:58:16 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050416155816-q9a9ipx724qvf3le
Tags: 2.5-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
#if     1
17
17
#else
18
18
#endif
19
 
#else   /* { dg-error "#else after #else\n\[\^ \]* the conditional began here| `#else' after `#else'\n (matches line 14)| Already seen #else at line 15" } */
 
19
#else   /* { dg-error "#else after #else\n\[\^ \]*( error:|) the conditional began here| `#else' after `#else'\n (matches line 14)| Already seen #else at line 15" } */
20
20
#endif
21
21
 
22
22
/* 17.4:    Error of #elif after #else. */
23
23
#if     MACRO_1 == 1
24
24
#else                   /* line 24  */
25
 
#elif   MACRO_1 == 0    /* { dg-error "#elif after #else\n\[\^ \]* the conditional began here| `#elif' after `#else'\n (matches line 23)| Already seen #else at line 24" } */
 
25
#elif   MACRO_1 == 0    /* { dg-error "#elif after #else\n\[\^ \]*( error:|) the conditional began here| `#elif' after `#else'\n (matches line 23)| Already seen #else at line 24" } */
26
26
#endif
27
27
 
28
28
/* 17.7:    Error of unterminated #if section.  */