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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [avr/] [trivial.c] - Rev 826

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.