aboutsummaryrefslogtreecommitdiff
path: root/test/Preprocessor/init.c
diff options
context:
space:
mode:
authorSanjiv Gupta <sanjiv.gupta@microchip.com>2010-02-15 18:02:12 +0000
committerSanjiv Gupta <sanjiv.gupta@microchip.com>2010-02-15 18:02:12 +0000
commit5591a6b5a8dc1498cf997a4f748a5fb035107be4 (patch)
treea8334ba554744b6e7f104ec2087f7395fe812beb /test/Preprocessor/init.c
parentaed63cbe10bbef09e2bb75592760b7dc8007bbfe (diff)
reverting back 96242 as it still causes a test failure.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96244 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Preprocessor/init.c')
-rw-r--r--test/Preprocessor/init.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/Preprocessor/init.c b/test/Preprocessor/init.c
index 00ea92c26b..a1485b6501 100644
--- a/test/Preprocessor/init.c
+++ b/test/Preprocessor/init.c
@@ -443,7 +443,7 @@
//
// RUN: %clang_cc1 -E -dM -ffreestanding -triple=pic16-none-none < /dev/null | FileCheck -check-prefix PIC16 %s
//
-// PIC16:#define __config(conf) asm("CONFIG "#conf)
+// PIC16:#define _CONFIG(conf) asm("CONFIG "#conf)
// PIC16:#define __CHAR_BIT__ 8
// PIC16:#define __DBL_DENORM_MIN__ 1.40129846e-45F
// PIC16:#define __DBL_DIG__ 6
@@ -518,10 +518,9 @@
// PIC16:#define __clang__ 1
// PIC16:#define __llvm__ 1
// PIC16:#define __pic16 1
-// PIC16:#define __PIC16 1
-// PIC16:#define __address(Addr) __attribute__((section("Address="#Addr)))
-// PIC16:#define interrupt __attribute__((section("interrupt=0x4"))) __attribute__((used))
-// PIC16:#define __section(SectName) __attribute__((section(SectName)))
+// PIC16:#define _address(Addr) __attribute__((section("Address="#Addr)))
+// PIC16:#define _interrupt __attribute__((section("interrupt=0x4"))) __attribute__((used))
+// PIC16:#define _section(SectName) __attribute__((section(SectName)))
// PIC16:#define ram __attribute__((address_space(0)))
// PIC16:#define rom __attribute__((address_space(1)))
//