aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2012-12-21 18:00:32 +0000
committerQuentin Colombet <qcolombet@apple.com>2012-12-21 18:00:32 +0000
commitd29b45580a5ffa5318cbe69b619d4d36ff7f8c78 (patch)
tree365fd699176babcbd0e96333cd28ee480a43eaf1
parentcd1a32b1f02016fe5ebb1142aadccc54bbdf5d89 (diff)
Add a testcase for ARM cortex-r5 subtarget
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170912 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/r5.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGen/r5.c b/test/CodeGen/r5.c
new file mode 100644
index 0000000000..30a0c0d572
--- /dev/null
+++ b/test/CodeGen/r5.c
@@ -0,0 +1,5 @@
+// RUN: %clang -target armv7-none-linux-gnueabi -mcpu=cortex-r5 -emit-llvm -S %s -o /dev/null
+
+int main() {
+ return 0;
+}