re PR preprocessor/60400 (ICE with trigraphs)
PR preprocessor/60400 * c-c++-common/cpp/pr60400.c: New test. * c-c++-common/cpp/pr60400-1.h: New file. * c-c++-common/cpp/pr60400-2.h: New file. From-SVN: r208272
This commit is contained in:
parent
abffd8570b
commit
0f0d4bfeef
@ -1,5 +1,10 @@
|
||||
2014-03-03 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR preprocessor/60400
|
||||
* c-c++-common/cpp/pr60400.c: New test.
|
||||
* c-c++-common/cpp/pr60400-1.h: New file.
|
||||
* c-c++-common/cpp/pr60400-2.h: New file.
|
||||
|
||||
PR objc++/60398
|
||||
* obj-c++.dg/invalid-method-2.mm: Adjust dg-error regexps.
|
||||
|
||||
|
3
gcc/testsuite/c-c++-common/cpp/pr60400-1.h
Normal file
3
gcc/testsuite/c-c++-common/cpp/pr60400-1.h
Normal file
@ -0,0 +1,3 @@
|
||||
??=ifndef PR60400_1_H
|
||||
??=define PR60400_1_H
|
||||
??=endif
|
4
gcc/testsuite/c-c++-common/cpp/pr60400-2.h
Normal file
4
gcc/testsuite/c-c++-common/cpp/pr60400-2.h
Normal file
@ -0,0 +1,4 @@
|
||||
??=ifndef PR60400_2_H
|
||||
??=define PR60400_2_H
|
||||
??=include "pr60400-1.h"
|
||||
??=endif
|
13
gcc/testsuite/c-c++-common/cpp/pr60400.c
Normal file
13
gcc/testsuite/c-c++-common/cpp/pr60400.c
Normal file
@ -0,0 +1,13 @@
|
||||
/* PR preprocessor/60400 */
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-trigraphs -Wtrigraphs" } */
|
||||
|
||||
??=include "pr60400-1.h"
|
||||
??=include "pr60400-2.h"
|
||||
|
||||
/* { dg-warning "trigraph" "" { target *-*-* } 1 } */
|
||||
/* { dg-warning "trigraph" "" { target *-*-* } 2 } */
|
||||
/* { dg-warning "trigraph" "" { target *-*-* } 3 } */
|
||||
/* { dg-warning "trigraph" "" { target *-*-* } 4 } */
|
||||
/* { dg-warning "trigraph" "" { target *-*-* } 5 } */
|
||||
/* { dg-warning "trigraph" "" { target *-*-* } 6 } */
|
Loading…
Reference in New Issue
Block a user