OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc4/] [gcc/] [testsuite/] [gcc.target/] [avr/] [trivial.c] - Blame information for rev 519

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 314 jeremybenn
/* { dg-do run } */
2
#include <stdio.h>
3
 
4
#define __ATTR_PROGMEM__ __attribute__((__progmem__))
5
 
6
#define PROGMEM __ATTR_PROGMEM__
7
char PROGMEM a1 = 0x12;
8
int PROGMEM a2 = 0x2345;
9
long PROGMEM a3 = 0x12345678;
10
int main(void)
11
{
12
  printf("Hello World\n");
13
  return 0;
14
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.