summaryrefslogtreecommitdiff
path: root/util/romcc/tests/simple_test53.c
diff options
context:
space:
mode:
authorEric Biederman <ebiederm@xmission.com>2003-07-01 10:05:30 +0000
committerEric Biederman <ebiederm@xmission.com>2003-07-01 10:05:30 +0000
commit530b5193e477d1756598700805b35e8a129a241f (patch)
tree3eb231f12c378a51d39ebb02d233628cf436796b /util/romcc/tests/simple_test53.c
parent57fa1b8279d78b3083b086708d857422ed99beca (diff)
- Massive set of cleanups/fixes for romcc. Lots of corner cases now work
properly. And a few long standing bugs have been rooted out and removed. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@931 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/romcc/tests/simple_test53.c')
-rw-r--r--util/romcc/tests/simple_test53.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/util/romcc/tests/simple_test53.c b/util/romcc/tests/simple_test53.c
new file mode 100644
index 0000000000..a27f98618d
--- /dev/null
+++ b/util/romcc/tests/simple_test53.c
@@ -0,0 +1,10 @@
+static void main(void)
+{
+ unsigned dev;
+ dev = __builtin_inl(0xcd);
+ if (dev == (0xffffffffU)) {
+ do {
+ __builtin_hlt();
+ } while(1);
+ }
+}