projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2610654
)
add missing test for "typedef auto"
author
Lee Millward
<lmillward@gcc.gnu.org>
Wed, 11 Oct 2006 19:43:13 +0000
(19:43 +0000)
committer
Lee Millward
<lmillward@gcc.gnu.org>
Wed, 11 Oct 2006 19:43:13 +0000
(19:43 +0000)
From-SVN: r117642
gcc/testsuite/g++.dg/parse/typedef8.C
patch
|
blob
|
history
diff --git
a/gcc/testsuite/g++.dg/parse/typedef8.C
b/gcc/testsuite/g++.dg/parse/typedef8.C
index 8c46bad8cae9b0b5248831019415c32ee1f1d1a5..6ff26febbc381acc8acf637bbb49c45bb430b40b 100644
(file)
--- a/
gcc/testsuite/g++.dg/parse/typedef8.C
+++ b/
gcc/testsuite/g++.dg/parse/typedef8.C
@@
-4,3
+4,8
@@
typedef static int a; // { dg-error "conflicting" }
typedef register int b; // { dg-error "conflicting" }
typedef extern int c; // { dg-error "conflicting" }
static typedef int a; // { dg-error "conflicting" }
+
+int foo()
+{
+ typedef auto int bar; // { dg-error "conflicting" }
+}