diff --git a/test/CFrontend/2008-02-11-AnnotateBuiltin.c b/test/CFrontend/2008-02-11-AnnotateBuiltin.c
new file mode 100644
index 00000000000..32bc7a82745
--- /dev/null
+++ b/test/CFrontend/2008-02-11-AnnotateBuiltin.c
@@ -0,0 +1,7 @@
+// RUN: %llvmgcc %s -S -o - | llvm-as | llvm-dis | grep llvm.annotation
+
+int main() {
+  int x = 0;
+  return __builtin_annotation(x, "annotate");
+}
+