Support attributes in *yet another* place. Is there any place you
can't stick an attributes?
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57795 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Parser/attributes.c b/test/Parser/attributes.c
index 0746517..d7fc35d 100644
--- a/test/Parser/attributes.c
+++ b/test/Parser/attributes.c
@@ -43,3 +43,15 @@
void (*h3)(void (*f3)(attribute(()) x)); // expected-warning {{defaults to 'int'}}
void (*h4)(void (*f4)(attribute(()))); // expected-error {{expected parameter declarator}}
+
+
+
+// rdar://6131260
+int foo42(void) {
+ int x, attribute((unused)) y, z;
+ return 0;
+}
+
+// rdar://6096491
+void attribute((noreturn)) d0(void), attribute((noreturn)) d1(void);
+