aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/implicit-int.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-07-13 21:02:29 +0000
committerChris Lattner <sabre@nondot.org>2007-07-13 21:02:29 +0000
commit7a543ad55a38853c577f23b8524fa3de3290550e (patch)
tree6182c9e5464ba77cd41511d518ece763d4339113 /test/Sema/implicit-int.c
parente107b5d1b3d3527b1f493ed5341e87614b36c376 (diff)
Unspecified type specs default to int. This fixes a crash
on test/Sema/implicit-int.c git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39833 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/implicit-int.c')
-rw-r--r--test/Sema/implicit-int.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Sema/implicit-int.c b/test/Sema/implicit-int.c
new file mode 100644
index 0000000000..e4a215fb78
--- /dev/null
+++ b/test/Sema/implicit-int.c
@@ -0,0 +1,4 @@
+// RUN: clang -fsyntax-only %s
+
+foo() {
+}