]> granicus.if.org Git - clang/commitdiff
Add a testcase for ARM cortex-r5 subtarget
authorQuentin Colombet <qcolombet@apple.com>
Fri, 21 Dec 2012 18:00:32 +0000 (18:00 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Fri, 21 Dec 2012 18:00:32 +0000 (18:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170912 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/r5.c [new file with mode: 0644]

diff --git a/test/CodeGen/r5.c b/test/CodeGen/r5.c
new file mode 100644 (file)
index 0000000..30a0c0d
--- /dev/null
@@ -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;
+}