Mercurial > hg > CbC > CbC_llvm
annotate clang/test/CodeGen/alias-avr.c @ 207:2e18cbf3894f
LLVM12
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Jun 2021 06:07:14 +0900 |
parents | 0572611fdcc8 |
children |
rev | line source |
---|---|
173 | 1 // RUN: %clang_cc1 -triple avr-unknown-unknown -emit-llvm -o - %s | FileCheck %s |
2 | |
3 int mul(int a, int b) { | |
4 return a * b; | |
5 } | |
6 | |
207 | 7 // CHECK: @multiply ={{.*}} alias i16 (i16, i16), i16 (i16, i16) addrspace(1)* @mul |
173 | 8 int multiply(int x, int y) __attribute__((alias("mul"))); |