OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [avr/] [torture/] [trivial.c] - Blame information for rev 314

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.