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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [avr/] [torture/] [trivial.c] - Rev 314

Compare with Previous | Blame | View Log

/* { dg-do run } */
#include <stdio.h>
 
#define __ATTR_PROGMEM__ __attribute__((__progmem__))
 
#define PROGMEM __ATTR_PROGMEM__
char PROGMEM a1 = 0x12; 
int PROGMEM a2 = 0x2345; 
long PROGMEM a3 = 0x12345678; 
int main(void)
{
  printf("Hello World\n");
  return 0;
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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