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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [avr/] [trivial.c] - Rev 753

Go to most recent revision | Compare with Previous | Blame | View Log

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

Go to most recent revision | 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.