summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/avr/torture/trivial.c
blob: 91163f9226e200d9cb22ec8eb769db991b06282c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { 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;
}