fix codegen support for functions that are nothrow and noreturn.
llvm-svn: 47838
diff --git a/clang/test/CodeGen/attributes.c b/clang/test/CodeGen/attributes.c
index 59f3e73..73e0601 100644
--- a/clang/test/CodeGen/attributes.c
+++ b/clang/test/CodeGen/attributes.c
@@ -19,3 +19,8 @@
// RUN: clang -emit-llvm < %s | grep 't6.*protected'
int t6 __attribute__((visibility(protected)));
+
+// RUN: clang -emit-llvm < %s | grep 't7.*noreturn'
+// RUN: clang -emit-llvm < %s | grep 't7.*nothrow'
+void t7() __attribute__((noreturn, nothrow));
+void t7() {}